diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-04 16:11:14 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-04 16:11:14 +0300 |
| commit | edf1d5d96dba96f62eb660a2bb440e8d31ab8882 (patch) | |
| tree | 8b6d1c2dac079a2a73df0e573b048fd6acf63282 /internal/processor/processor.go | |
| parent | 2d6cd1a4d388b22396827cbf151aa2990ca6cd5a (diff) | |
feat: progressive retry backoff for rate-limited image generation
Replace fixed 10s retry pause with pageRetryBase × attempt (15s→30s→45s→60s)
and increase max retries from 3 to 5. Extracted shared retryPage() helper used
by both generateStoryPage and generatePageWithRetry to keep retry logic DRY.
Gallery pages that fail due to Gemini rate limits now recover automatically
instead of being silently skipped after just 30 seconds of retries.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/processor/processor.go')
0 files changed, 0 insertions, 0 deletions
