diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-28 16:48:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-28 16:48:53 +0100 |
commit | 79e37a7ecbb566f63393ee47728e5cddfdc2810e (patch) | |
tree | 4ef6245ffc86cb1f6af9d180caf53e821e85cbaa /synapse/http/client.py | |
parent | Merge pull request #168 from matrix-org/erikj/conn_pool (diff) | |
download | synapse-79e37a7ecbb566f63393ee47728e5cddfdc2810e.tar.xz |
Correctly pass connection pool parameter
Diffstat (limited to 'synapse/http/client.py')
-rw-r--r-- | synapse/http/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index 8d6e89d6e7..e746f2416e 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -58,7 +58,7 @@ class SimpleHttpClient(object): # 'like a browser' pool = HTTPConnectionPool(reactor) pool.maxPersistentPerHost = 10 - self.agent = Agent(reactor, pool) + self.agent = Agent(reactor, pool=pool) self.version_string = hs.version_string def request(self, method, *args, **kwargs): |