Skip to content

Commit

Permalink
list
Browse files Browse the repository at this point in the history
  • Loading branch information
ljleb committed Aug 13, 2023
1 parent dfff4a1 commit 390c797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib_comfyui/comfyui/iframe_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def start_workflow_sync(
})
except RuntimeError as e:
print('\n'.join(traceback.format_exception_only(e)))
return batch_input
return [batch_input]

if not queue_tracker.wait_until_done():
return batch_input
return [batch_input]

return global_state.node_outputs

Expand Down
2 changes: 1 addition & 1 deletion lib_comfyui/comfyui/queue_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def cancel_queued_workflow():
PromptQueueTracker.queue_instance.delete_queue_item(lambda a: a[1] == PromptQueueTracker.tracked_id)


@ipc.restrict_to_process('comfyui')
@ipc.run_in_process('comfyui')
def tracked_id_present():
with PromptQueueTracker.queue_instance.mutex:
for v in PromptQueueTracker.queue_instance.currently_running.values():
Expand Down

0 comments on commit 390c797

Please sign in to comment.