mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 17:32:43 +00:00
Change load limit params
This commit is contained in:
1 parent
3c6518ddbf
commit
571a566399
1 file changed
+2
-2
@@ -608,8 +608,8 @@ class SyncHandler(BaseHandler):
|
||||
"""
|
||||
filtering_factor = 2
|
||||
timeline_limit = sync_config.filter_collection.timeline_limit()
|
||||
load_limit = timeline_limit * filtering_factor
|
||||
max_repeat = 3 # Only try a few times per room, otherwise
|
||||
load_limit = max(timeline_limit * filtering_factor, 10)
|
||||
max_repeat = 5 # Only try a few times per room, otherwise
|
||||
room_key = now_token.room_key
|
||||
end_key = room_key
|
||||
|
||||
|
||||
Reference in new issue
Block a user