You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
more resilient process to wait for and retrieve workflow outputs.
Old process:
submit
wait for success event on ws
make a single request to get output from history endpoint
New process:
submit
slow poll history endpoint AND wait for success event on ws
when success event arrives, increase poll rate to history endpoint, and hit it again immediately. Poll until outputs arrive. Note: this is almost always on the first try, but there is a race condition between comfyui writing outputs to local storage, and comfyui sending the success event on ws, so one request to the history endpoint after the success event is not always adequate.
introduce automatic retries on prompt webhooks. defaults to 3, with a 1 second delay