mirror of
https://github.com/open-webui/open-webui
synced 2024-12-01 16:53:24 +00:00
958fe9639a
as the get_images() function involves a `while True` loop while waiting for a response from ComfyUI and is not async, when image generation is running the entire UI becomes unresponsive for all users. furthermore, when image generation takes too long, the Docker health check starts failing. this is certainly a bad fix as it does not convert everything to async, but rather just puts the blocking loop in a separate thread. however, it works and it at least fixes the problem for now. |
||
---|---|---|
.. | ||
comfyui.py |