diff --git a/modules_forge/main_thread.py b/modules_forge/main_thread.py index d3b763e0..fac836bb 100644 --- a/modules_forge/main_thread.py +++ b/modules_forge/main_thread.py @@ -43,7 +43,7 @@ def loop(): while True: with condition: while not waiting_queue: - condition.wait() + condition.wait(timeout=0.1) task = waiting_queue.popleft()