mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-29 05:38:26 +00:00
change the limit of how many servers to check for backfill from 5 to a minimum of 50 or the number of servers in the room
(cherry picked from commit b3210f0c61a83c6caa3510edbd3333f2693331ea)
This commit is contained in:
@@ -453,7 +453,7 @@ class FederationHandler:
|
||||
|
||||
# Maximum number of contacted remote homeservers that can deny our
|
||||
# backfill request with 4xx codes before we give up.
|
||||
max_denied_count = 5
|
||||
max_denied_count = min(len(domains), 50)
|
||||
|
||||
for dom in domains:
|
||||
# We don't want to ask our own server for information we don't have
|
||||
|
||||
Reference in New Issue
Block a user