summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-28 15:45:46 +0100
committerErik Johnston <erik@matrix.org>2015-05-28 15:45:46 +0100
commit11f51e6deda8962a7b027dff8b631f0af26a74d9 (patch)
treebea7e937ea4b0dc5a42ceb7db0da9944429187d6 /synapse/http/matrixfederationclient.py
parentAdd connection pooling to SimpleHttpClient (diff)
downloadsynapse-11f51e6deda8962a7b027dff8b631f0af26a74d9.tar.xz
Up maxPersistentPerHost count
Diffstat (limited to '')
-rw-r--r--synapse/http/matrixfederationclient.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 9b6ba2d548..44f0b00333 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -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