Lower all the timeouts
This commit is contained in:
@@ -175,6 +175,7 @@ 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
|
||||
)
|
||||
|
||||
|
||||
@@ -424,7 +424,7 @@ class FederationHandler(BaseHandler):
|
||||
)
|
||||
|
||||
now = self.clock.time_msec()
|
||||
if now - pdu.origin_server_ts > 2 * 60 * 1000:
|
||||
if now - pdu.origin_server_ts > 1 * 60 * 1000:
|
||||
pass
|
||||
else:
|
||||
thread_id = 0
|
||||
|
||||
Reference in New Issue
Block a user