mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-07-21 21:01:24 +08:00
timeout
This commit is contained in:
parent
94adc54dca
commit
9966142391
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user