From 9966142391e78a44190cc2e1e6afb92ffd20e98e Mon Sep 17 00:00:00 2001 From: Haoming Date: Mon, 2 Mar 2026 22:11:45 +0800 Subject: [PATCH] timeout --- modules_forge/main_thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()