forked from MirrorHub/synapse
Up maxPersistentPerHost count
This commit is contained in:
parent
086df80790
commit
11f51e6ded
2 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,7 @@ class SimpleHttpClient(object):
|
|||
# BrowserLikePolicyForHTTPS which will do regular cert validation
|
||||
# 'like a browser'
|
||||
pool = HTTPConnectionPool(reactor)
|
||||
pool.maxPersistentPerHost = 10
|
||||
self.agent = Agent(reactor, pool)
|
||||
self.version_string = hs.version_string
|
||||
|
||||
|
|
|
@ -104,6 +104,7 @@ class MatrixFederationHttpClient(object):
|
|||
self.signing_key = hs.config.signing_key[0]
|
||||
self.server_name = hs.hostname
|
||||
pool = HTTPConnectionPool(reactor)
|
||||
pool.maxPersistentPerHost = 10
|
||||
self.agent = MatrixFederationHttpAgent(reactor, pool)
|
||||
self.clock = hs.get_clock()
|
||||
self.version_string = hs.version_string
|
||||
|
|
Loading…
Reference in a new issue