mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 13:07:56 +00:00
Try with fewer persistent HTTP connections.
This commit is contained in:
parent
20f55933bd
commit
2e22df60fe
@ -325,7 +325,7 @@ class StorageClient(object):
|
|||||||
certificate_hash = nurl.user.encode("ascii")
|
certificate_hash = nurl.user.encode("ascii")
|
||||||
if pool is None:
|
if pool is None:
|
||||||
pool = HTTPConnectionPool(reactor)
|
pool = HTTPConnectionPool(reactor)
|
||||||
pool.maxPersistentPerHost = 20
|
pool.maxPersistentPerHost = 10
|
||||||
|
|
||||||
if cls.TEST_MODE_REGISTER_HTTP_POOL is not None:
|
if cls.TEST_MODE_REGISTER_HTTP_POOL is not None:
|
||||||
cls.TEST_MODE_REGISTER_HTTP_POOL(pool)
|
cls.TEST_MODE_REGISTER_HTTP_POOL(pool)
|
||||||
|
Loading…
Reference in New Issue
Block a user