[fix] increase Kling API polling timeout to prevent user timeouts

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.
This commit is contained in:
bymyself 2025-07-10 14:31:20 -07:00
parent b7ff5bd14d
commit 5b7124b8de

View File

@ -132,6 +132,8 @@ def poll_until_finished(
result_url_extractor=result_url_extractor, result_url_extractor=result_url_extractor,
estimated_duration=estimated_duration, estimated_duration=estimated_duration,
node_id=node_id, node_id=node_id,
poll_interval=16.0,
max_poll_attempts=256,
).execute() ).execute()