mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-19 04:57:54 +00:00
Merge pull request #1237 from tahoe-lafs/3954.faster-http
Faster HTTP for immutable downloads Fixes: ticket:3954
This commit is contained in:
commit
1c643ebbaf
0
newsfragments/3954.minor
Normal file
0
newsfragments/3954.minor
Normal file
@ -323,6 +323,7 @@ class StorageClient(object):
|
||||
swissnum = nurl.path[0].encode("ascii")
|
||||
certificate_hash = nurl.user.encode("ascii")
|
||||
pool = HTTPConnectionPool(reactor)
|
||||
pool.maxPersistentPerHost = 20
|
||||
|
||||
if cls.TEST_MODE_REGISTER_HTTP_POOL is not None:
|
||||
cls.TEST_MODE_REGISTER_HTTP_POOL(pool)
|
||||
|
Loading…
Reference in New Issue
Block a user