1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Send websocket message with list of cached nodes right before execution.

This commit is contained in:
comfyanonymous
2023-05-10 15:59:24 -04:00
parent 602095f614
commit 3a7c3acc72

View File

@@ -169,6 +169,8 @@ class PromptExecutor:
recursive_output_delete_if_changed(prompt, self.old_prompt, self.outputs, x)
current_outputs = set(self.outputs.keys())
if self.server.client_id is not None:
self.server.send_sync("execution_cached", { "nodes": list(current_outputs) }, self.server.client_id)
executed = set()
try:
to_execute = []