we do that higher up

This commit is contained in:
Amber Brown 2018-09-14 03:21:47 +10:00
parent 73884ebac5
commit 63755fa4c2

View file

@ -91,6 +91,7 @@ class MatrixFederationHttpClient(object):
self.server_name = hs.hostname
reactor = hs.get_reactor()
pool = HTTPConnectionPool(reactor)
pool.retryAutomatically = False
pool.maxPersistentPerHost = 5
pool.cachedConnectionTimeout = 2 * 60
self.agent = Agent.usingEndpointFactory(