From 2194d47782b2ba882324942d4c4f0944afc22d5c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 22 Oct 2010 19:10:45 +0000 Subject: [PATCH] setting conf.threads when -o switch is used --- lib/core/option.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/option.py b/lib/core/option.py index 0cb2fb9b0..d00072d44 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -989,6 +989,7 @@ def __cleanupOptions(): if conf.optimize: conf.predictOutput = conf.keepAlive = True conf.nullConnection = not conf.textOnly + conf.threads = 4 if conf.threads < 2 else conf.threads def __setConfAttributes(): """