From 87ab75cbef0625c78f8ddfd611779c26b5ea3e0a Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Tue, 20 Feb 2024 08:22:48 +0100 Subject: [PATCH] We already limit the limit to 100 --- syncapi/routing/context.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/syncapi/routing/context.go b/syncapi/routing/context.go index 1a7f7679b..4c152a244 100644 --- a/syncapi/routing/context.go +++ b/syncapi/routing/context.go @@ -109,13 +109,8 @@ func Context( } } - // Default to a sane state filter limit - limit := filter.Limit - if limit > 100 { - limit = 100 - } stateFilter := synctypes.StateFilter{ - Limit: limit, + Limit: filter.Limit, NotSenders: filter.NotSenders, NotTypes: filter.NotTypes, Senders: filter.Senders,