1
0

Lower all the timeouts

This commit is contained in:
Erik Johnston
2018-11-20 13:32:47 +00:00
parent 775441105a
commit 607ac7ea37
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
)
+1 -1
View File
@@ -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