Archived
comfyui node: 60 s per status-poll request (was 30) -- a busy box gets slack
The wait's overall budget is the node's own timeout input (default 1800 s); the 30 s was the give-up-per-single-GET limit. A saturated server should have to miss two straight minutes of tiny status replies before the client errors out.
This commit is contained in:
1 parent
88540cd263
commit
258d685768
1 file changed
+4
-1
@@ -730,7 +730,10 @@ class RadianceMiniMax(io.ComfyNode):
|
|||||||
f"{KEEPALIVE_SECONDS:.0f}s); `docker logs -f` on the server shows the "
|
f"{KEEPALIVE_SECONDS:.0f}s); `docker logs -f` on the server shows the "
|
||||||
"same pace per STEP (a server built after Oct 2026)")
|
"same pace per STEP (a server built after Oct 2026)")
|
||||||
while True:
|
while True:
|
||||||
jr = s.get(f"{base}/v1/videos/{job_id}", timeout=30)
|
# 60 s per request: a healthy status GET answers instantly, but a
|
||||||
|
# busy server (big workflow saturating the box) must not be able to
|
||||||
|
# kill an otherwise-healthy wait on one slow reply
|
||||||
|
jr = s.get(f"{base}/v1/videos/{job_id}", timeout=60)
|
||||||
jr.raise_for_status()
|
jr.raise_for_status()
|
||||||
j = jr.json()
|
j = jr.json()
|
||||||
status = j.get("status")
|
status = j.get("status")
|
||||||
|
|||||||
Reference in new issue
Block a user