Reduced number of threads to 3 when -o is provided

This commit is contained in:
Bernardo Damele 2011-04-06 08:15:20 +00:00
parent 265fa52600
commit 81034140c0

View File

@ -1141,7 +1141,7 @@ def __cleanupOptions():
#conf.predictOutput = True #conf.predictOutput = True
conf.keepAlive = True conf.keepAlive = True
conf.nullConnection = not conf.textOnly conf.nullConnection = not conf.textOnly
conf.threads = 4 if conf.threads < 4 else conf.threads conf.threads = 3 if conf.threads < 3 else conf.threads
if conf.tor: if conf.tor:
conf.proxy = DEFAULT_TOR_PROXY conf.proxy = DEFAULT_TOR_PROXY