mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 06:43:50 +01:00
Change load limit params
This commit is contained in:
parent
3c6518ddbf
commit
571a566399
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue