Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed get_images(ws, prompt) to asynchronous method to prevent packet loss #3398

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pcdilley
Copy link

@pcdilley pcdilley commented May 3, 2024

When multiple packets are sent quickly from ComfyUI, using a synchronous method results in lost packets. This change prevents confusion for users like me who fail to realize the synchronous nature (and fallibility) of WebSocket.recv().

It also adds a printed progress message that demonstrates another feature of ComfyUI's API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants