Set threads to 4 when optimization switch is provided, -o

This commit is contained in:
Bernardo Damele 2011-01-31 21:21:13 +00:00
parent 8397c526d8
commit ec9ebb3479

View File

@ -1121,7 +1121,7 @@ def __cleanupOptions():
#conf.predictOutput = True
conf.keepAlive = True
conf.nullConnection = not conf.textOnly
conf.threads = 4 if conf.threads < 2 else conf.threads
conf.threads = 4 if conf.threads < 4 else conf.threads
if conf.realTest:
conf.userAgentsFile = paths.USER_AGENTS