mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-18 17:10:43 +03:00
Reenable retries for sending transactions
This commit is contained in:
parent
6284acf910
commit
27ca009b0a
2 changed files with 1 additions and 2 deletions
|
@ -175,7 +175,6 @@ class TransportLayerClient(object):
|
|||
data=json_data,
|
||||
json_data_callback=json_data_callback,
|
||||
long_retries=False,
|
||||
timeout=10000,
|
||||
backoff_on_404=True, # If we get a 404 the other side has gone
|
||||
)
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@ class MatrixFederationHttpClient(object):
|
|||
self.clock = hs.get_clock()
|
||||
self._store = hs.get_datastore()
|
||||
self.version_string_bytes = hs.version_string.encode('ascii')
|
||||
self.default_timeout = 30
|
||||
self.default_timeout = 20
|
||||
|
||||
def schedule(x):
|
||||
reactor.callLater(_EPSILON, x)
|
||||
|
|
Loading…
Reference in a new issue