Files
dragonsstash/worker/src
adminandClaude Sonnet 5 d786f3f23b
continuous-integration/drone/push Build is passing
perf(worker): run startup upload-recovery batches with bounded concurrency
Telegram soft-throttles sustained sequential getMessages calls from a
user account with growing per-call latency (no FLOOD_WAIT, so our retry
wrapper never sees it). On a large package count this made the
once-per-startup destination-message verification pass take 90+ minutes
and block the scheduler/fetch-listener from starting. Running up to 3
batches concurrently cuts wall-clock time well under real per-account
rate limits.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JMm2E4ecmATJo8HuBx92NP
2026-08-21 19:00:21 +02:00
..