Bump the client-side timeout for /state
to allow faster joins resyncs the chance to complete for large rooms. We have seen this fair poorly (~90s for Matrix HQ's /state) in testing, causing the resync to advance to another HS who hasn't seen our join yet.pull/14912/head
parent
4607be0b7b
commit
16a4473034
|
@ -102,6 +102,10 @@ class TransportLayerClient:
|
||||||
destination,
|
destination,
|
||||||
path=path,
|
path=path,
|
||||||
args={"event_id": event_id},
|
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,
|
||||||
parser=_StateParser(room_version),
|
parser=_StateParser(room_version),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue