diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-28 15:45:46 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-28 15:45:46 +0100 |
commit | 11f51e6deda8962a7b027dff8b631f0af26a74d9 (patch) | |
tree | bea7e937ea4b0dc5a42ceb7db0da9944429187d6 /synapse/http/client.py | |
parent | Add connection pooling to SimpleHttpClient (diff) | |
download | synapse-11f51e6deda8962a7b027dff8b631f0af26a74d9.tar.xz |
Up maxPersistentPerHost count
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r-- | synapse/http/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index 9c7fa29369..8d6e89d6e7 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -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 |