From c204f2b221fb06b4d3c3ff02eaf0422351ef1651 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 10 Oct 2011 14:47:48 +0000 Subject: [PATCH] minor optimization --- lib/core/threads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/threads.py b/lib/core/threads.py index 6c51f5daf..b2e4374a6 100644 --- a/lib/core/threads.py +++ b/lib/core/threads.py @@ -133,7 +133,7 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio for thread in threads: if thread.isAlive(): alive = True - time.sleep(1) + time.sleep(0.1) except KeyboardInterrupt: print