mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Change load limit params
This commit is contained in:
parent
3c6518ddbf
commit
571a566399
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user