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

Skip to content

Commit 2194d47

Browse files
committed
setting conf.threads when -o switch is used
1 parent e4089e8 commit 2194d47

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/core/option.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -989,6 +989,7 @@ def __cleanupOptions():
989989
if conf.optimize:
990990
conf.predictOutput = conf.keepAlive = True
991991
conf.nullConnection = not conf.textOnly
992+
conf.threads = 4 if conf.threads < 2 else conf.threads
992993

993994
def __setConfAttributes():
994995
"""

0 commit comments

Comments
 (0)