Set connection pool maxsize=6

This commit is contained in:
Vangelis Banos 2019-09-21 09:29:19 +00:00
parent 84a46e4323
commit 407e890258

View File

@ -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: