mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-24 05:10:18 +08:00
Tweak this message
This commit is contained in:
parent
b3f1ce7ef0
commit
bdc843ced1
@ -257,9 +257,9 @@ async def main():
|
|||||||
|
|
||||||
# in a distributed setting, the default prompt worker will not be able to send execution events via the websocket
|
# in a distributed setting, the default prompt worker will not be able to send execution events via the websocket
|
||||||
worker_thread_server = server if not distributed else ServerStub()
|
worker_thread_server = server if not distributed else ServerStub()
|
||||||
if "worker" in args.distributed_queue_roles:
|
if not distributed or "worker" in args.distributed_queue_roles:
|
||||||
logging.warning(
|
if distributed:
|
||||||
f"Distributed workers started in the default thread loop cannot notify clients of progress updates. Instead of comfyui or main.py, use comfyui-worker.")
|
logging.warning(f"Distributed workers started in the default thread loop cannot notify clients of progress updates. Instead of comfyui or main.py, use comfyui-worker.")
|
||||||
threading.Thread(target=prompt_worker, daemon=True, args=(q, worker_thread_server,)).start()
|
threading.Thread(target=prompt_worker, daemon=True, args=(q, worker_thread_server,)).start()
|
||||||
|
|
||||||
# server has been imported and things should be looking good
|
# server has been imported and things should be looking good
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user