mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
Set connection pool maxsize=6
This commit is contained in:
parent
84a46e4323
commit
407e890258
@ -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), maxsize=10)
|
||||
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