Reduce timeouts for sending transaction
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user