Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec9ebb3

Browse files
committed
Set threads to 4 when optimization switch is provided, -o
1 parent 8397c52 commit ec9ebb3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1121,7 +1121,7 @@ def __cleanupOptions():
11211121
#conf.predictOutput = True
11221122
conf.keepAlive = True
11231123
conf.nullConnection = not conf.textOnly
1124-
conf.threads = 4 if conf.threads < 2 else conf.threads
1124+
conf.threads = 4 if conf.threads < 4 else conf.threads
11251125

11261126
if conf.realTest:
11271127
conf.userAgentsFile = paths.USER_AGENTS

0 commit comments

Comments
 (0)