mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-05-13 18:46:21 +02:00
With Cloudflare proxy in front of Vercel, x-real-ip contains the CF edge server IP (shared across all users behind the same edge), not the real client IP. This caused all users to share a single rate-limit bucket, triggering 429 storms on classify-event. Also adds exponential backoff (60s→120s→240s→5min cap) and queue trimming on repeated 429s to prevent client-side hammering.