mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 01:14:48 -04:00
Reduce max time we wait for stream positions (#14881)
Now that we wait for stream positions whenever we do a HTTP replication hit, we need to be less brutal in the case where we do timeout (as we have bugs around this).
This commit is contained in:
parent
65d0386693
commit
0ec12a3753
3 changed files with 12 additions and 12 deletions
|
@ -352,7 +352,6 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):
|
|||
instance_name=instance_name,
|
||||
stream_name=stream_name,
|
||||
position=position,
|
||||
raise_on_timeout=False,
|
||||
)
|
||||
|
||||
return result
|
||||
|
@ -414,7 +413,6 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):
|
|||
instance_name=content[_STREAM_POSITION_KEY]["instance_name"],
|
||||
stream_name=stream_name,
|
||||
position=position,
|
||||
raise_on_timeout=False,
|
||||
)
|
||||
|
||||
if self.CACHE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue