From 0430b713a9eec2476a3373d00b47a00a61bc5894 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 29 Sep 2019 00:41:34 +0100 Subject: [PATCH] Mitigate ctrl-c somewhat --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 7452ace..01b11c7 100644 --- a/main.py +++ b/main.py @@ -59,7 +59,7 @@ def main(): try: # block until all tasks are done while not q.empty(): - time.sleep(1) # Interruptable + time.sleep(5) # Interruptable q.join() # stop workers for _ in range(thread_count):