Skip to content

Commit 8f05fb4

Browse files
[fix] increase Kling API polling timeout to prevent user timeouts (#8860)
Extends polling duration from 10 minutes to ~68 minutes (256 attempts × 16 seconds) to accommodate longer Kling API operations that were frequently timing out for users.
1 parent b7ff5bd commit 8f05fb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

comfy_api_nodes/nodes_kling.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ def poll_until_finished(
132132
result_url_extractor=result_url_extractor,
133133
estimated_duration=estimated_duration,
134134
node_id=node_id,
135+
poll_interval=16.0,
136+
max_poll_attempts=256,
135137
).execute()
136138

137139

0 commit comments

Comments
 (0)