From 0cbe1dd7956ec0afe309a6c22fde02b1ea2f7a29 Mon Sep 17 00:00:00 2001 From: Jaz Volpert Date: Thu, 21 Sep 2023 01:33:07 +0000 Subject: [PATCH] Cursor is already limited in the handler stub --- bgs/handlers.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bgs/handlers.go b/bgs/handlers.go index 2abba9f28..7033bfbff 100644 --- a/bgs/handlers.go +++ b/bgs/handlers.go @@ -140,10 +140,6 @@ func (s *BGS) handleComAtprotoSyncListBlobs(ctx context.Context, cursor string, } func (s *BGS) handleComAtprotoSyncListRepos(ctx context.Context, cursor string, limit int) (*comatprototypes.SyncListRepos_Output, error) { - if limit > 1000 { - limit = 1000 - } - // Use UIDs for the cursor var err error c := int64(0)