From 5d8486d43ebddf42245204501bd32855c93be7c4 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 25 Jan 2023 15:27:18 +0000 Subject: [PATCH] Milliseconds!!!! --- synapse/federation/transport/client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 730169f722..682666ab36 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -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), )