mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-03 01:47:05 +08:00
[optimization] Increase Moonvalley polling timeout to 64 minutes
- Changed poll interval from 5s to 16s to reduce API calls - Maintains 240 max attempts for 64 minute total timeout - Helps prevent timeouts for slow Moonvalley video processing
This commit is contained in:
parent
3a44b64eae
commit
2df2195c83
@ -98,7 +98,8 @@ def poll_until_finished(
|
|||||||
completed_statuses=[
|
completed_statuses=[
|
||||||
"completed",
|
"completed",
|
||||||
],
|
],
|
||||||
max_poll_attempts=240,
|
max_poll_attempts=240, # 64 minutes with 16s interval
|
||||||
|
poll_interval=16.0,
|
||||||
failed_statuses=["error"],
|
failed_statuses=["error"],
|
||||||
status_extractor=lambda response: (
|
status_extractor=lambda response: (
|
||||||
response.status
|
response.status
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user