The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Only poll if it has never opened
pythongosssss9913114044ce
diff --git a/web/scripts/api.js b/web/scripts/api.jsindex 6ffff4a00..17330cf01 100644--- a/web/scripts/api.js+++ b/web/scripts/api.js@@ -39,7 +39,9 @@ class ComfyApi extends EventTarget {this.socket.addEventListener("error", () => {if (this.socket) this.socket.close();- this.#pollQueue();+ if (!opened) {+ this.#pollQueue();+ }});this.socket.addEventListener("close", () => {