1
0

Reduce timeouts for sending transaction

This commit is contained in:
Erik Johnston
2018-11-20 11:30:43 +00:00
parent e644f49b46
commit 775441105a
2 changed files with 2 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ class TransportLayerClient(object):
path=path,
data=json_data,
json_data_callback=json_data_callback,
long_retries=True,
long_retries=False,
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 = 60
self.default_timeout = 30
def schedule(x):
reactor.callLater(_EPSILON, x)