mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 14:20:49 +08:00
Enable real-time progress notifications.
This commit is contained in:
parent
dd6f7c4215
commit
37cca051b6
@ -25,9 +25,7 @@ def _get_name(queue_name: str, user_id: str) -> str:
|
||||
|
||||
|
||||
class DistributedExecutorToClientProgress(ExecutorToClientProgress):
|
||||
def __init__(self, rpc: RPC, queue_name: str, loop: AbstractEventLoop, receive_all_progress_notifications=False):
|
||||
if receive_all_progress_notifications:
|
||||
raise NotImplementedError("this release does not yet support sending all progress notifications from the hook over the network")
|
||||
def __init__(self, rpc: RPC, queue_name: str, loop: AbstractEventLoop, receive_all_progress_notifications=True):
|
||||
self._rpc = rpc
|
||||
self._queue_name = queue_name
|
||||
self._loop = loop
|
||||
|
||||
Loading…
Reference in New Issue
Block a user