Update polling defaults: 5s interval, 20min max wait time

Changed defaults to user's preferences:
- poll_interval: 10s → 5s (faster checking)
- max_wait_time: 600s (10min) → 1200s (20min)
- max_wait_time limit: 3600s → 7200s (allow up to 2 hours if needed)
- poll_interval can now be set as low as 1s

Updated QUICKSTART documentation to reflect new defaults.
This commit is contained in:
bowtiedbluefin
2025-11-09 00:57:10 -05:00
parent 0534e0c454
commit f6fbcf1840
2 changed files with 16 additions and 16 deletions
+11 -11
View File
@@ -117,15 +117,15 @@ models:
duration: 4
fps: 24
auto_poll: true
poll_interval: 10
max_wait_time: 600
poll_interval: 5
max_wait_time: 1200
```
3. Execute → The node will automatically wait until video is ready!
**Auto-Polling Feature** (enabled by default):
- `auto_poll: true` → Node automatically checks video status every X seconds
- `poll_interval: 10` → Check every 10 seconds
- `max_wait_time: 600` → Give up after 10 minutes
- `poll_interval: 5` → Check every 5 seconds (default)
- `max_wait_time: 1200` → Give up after 20 minutes (default)
- You'll see status updates in the console
- Once completed, `video_url` output contains the download link
- `video_id` output contains the generation ID (for manual retrieval if needed)
@@ -151,7 +151,7 @@ models:
**With Auto-Polling (Default - Recommended):**
1. Run "Generate Video" node with `auto_poll: true`
2. Node automatically waits and checks status every 10 seconds
2. Node automatically waits and checks status every 5 seconds
3. Watch the console for progress updates
4. When completed, `video_url` output has the download link
5. Connect `video_url` directly to "Save Video from URL" or preview nodes!
@@ -160,12 +160,12 @@ models:
```
[INFO] Video generation started. ID: video_abc123
[INFO] Initial status: queued
[INFO] Auto-polling enabled. Will check every 10s (max 600s)
[INFO] Waiting 10s before checking status...
[INFO] Status check (10s elapsed): processing
[INFO] Waiting 10s before checking status...
[INFO] Status check (20s elapsed): completed
[SUCCESS] Video completed after 20s!
[INFO] Auto-polling enabled. Will check every 5s (max 1200s)
[INFO] Waiting 5s before checking status...
[INFO] Status check (5s elapsed): processing
[INFO] Waiting 5s before checking status...
[INFO] Status check (10s elapsed): completed
[SUCCESS] Video completed after 10s!
[SUCCESS] Video URL: https://...
```
+5 -5
View File
@@ -51,15 +51,15 @@ class VideoGenerationNode:
"default": "true",
}),
"poll_interval": ("INT", {
"default": 10,
"min": 5,
"default": 5,
"min": 1,
"max": 60,
"step": 5,
"step": 1,
}),
"max_wait_time": ("INT", {
"default": 600,
"default": 1200,
"min": 60,
"max": 3600,
"max": 7200,
"step": 60,
}),
},