mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-04-09 18:49:11 +02:00
Check for enqueued tasks more frequently
This commit is contained in:
parent
80d23cbbbf
commit
9499685dda
@ -268,7 +268,7 @@ def thread_render(device):
|
|||||||
return
|
return
|
||||||
task = thread_get_next_task()
|
task = thread_get_next_task()
|
||||||
if task is None:
|
if task is None:
|
||||||
time.sleep(1)
|
time.sleep(0.05)
|
||||||
continue
|
continue
|
||||||
if task.error is not None:
|
if task.error is not None:
|
||||||
print(task.error)
|
print(task.error)
|
||||||
|
Loading…
Reference in New Issue
Block a user