Merge remote-tracking branch 'origin/dmr/bump-state-timeouts' into matrix-org-hotfixes

anoa/redirect_instances
David Robertson 2023-01-25 15:29:55 +00:00
commit 505d85e0db
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD
1 changed files with 3 additions and 3 deletions

View File

@ -103,9 +103,9 @@ class TransportLayerClient:
path=path,
args={"event_id": event_id},
# This can take a looooooong time for large rooms. Give this a generous
# timeout, to avoid the partial state resync timing out early and trying
# a bunch of servers who haven't see our join yet.
timeout=600,
# timeout of 10 minutes to avoid the partial state resync timing out early
# and trying a bunch of servers who haven't seen our join yet.
timeout=600_000,
parser=_StateParser(room_version),
)