mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-02 22:17:17 +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",
|
||||
],
|
||||
max_poll_attempts=240,
|
||||
max_poll_attempts=240, # 64 minutes with 16s interval
|
||||
poll_interval=16.0,
|
||||
failed_statuses=["error"],
|
||||
status_extractor=lambda response: (
|
||||
response.status
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user