mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-13 18:46:21 +02:00
RSS feeds that fail (socket hang up, timeout, non-2xx) were retried every 60s indefinitely, hammering broken upstreams. Adds per-feed exponential backoff: 1min → 2min → 4min → 8min → 15min cap. - Separate rssBackoffUntil/rssFailureCount maps (no response cache mutation) - Stale successful data served during backoff (BACKOFF-STALE) - 503 + Retry-After header when no stale data available - Failure count preserved across backoff expiry for fast re-escalation - Reset on success (2xx or 304 revalidation)