Files
Pulse/docs/release-control
courtmanr@gmail.com fac0c560b4 Honor HTTP 429/503 Retry-After headers in NotificationQueue
2026-11-20 telemetry showed 28,900 weekly rate_limited notification failures across 648 installs. readWebhookResponse cloned HTTP headers on 429/503 responses (shared by Discord, Slack, Telegram, ntfy, Pushover, Gotify, generic webhooks, and Apprise HTTP), but every queued sender discarded them and NotificationQueue retried blindly on fixed backoff.

Parse bounded Retry-After (integer/fractional seconds or HTTP-date) and Discord X-RateLimit-Reset-After headers (capped at 15 minutes, body still withheld), attach them to NotificationFailureError, unwrap through nested wrappers like safeAppriseError, and honor max(backoff, retryAfter) in NotificationQueue.scheduleRetryWithHint.
2026-11-21 09:34:11 +00:00
..