Reenable retries for sending transactions

This commit is contained in:
Erik Johnston 2018-11-26 16:25:06 +00:00 committed by Brendan Abolivier
parent 6284acf910
commit 27ca009b0a
2 changed files with 1 additions and 2 deletions

View file

@ -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
)

View file

@ -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)