mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Merge pull request #138 from vbanos/increase-connection-pool-size
Increase remote_connection_pool maxsize
This commit is contained in:
commit
da9c4b0b4e
@ -777,7 +777,7 @@ class SingleThreadedMitmProxy(http_server.HTTPServer):
|
||||
self.bad_hostnames_ports_lock = RLock()
|
||||
|
||||
self.remote_connection_pool = PoolManager(
|
||||
num_pools=max((options.max_threads or 0) // 6, 400))
|
||||
num_pools=max((options.max_threads or 0) // 6, 400), maxsize=6)
|
||||
|
||||
if options.onion_tor_socks_proxy:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user