Files
worldmonitor/scripts
Elie Habib 519da36ef6 fix(relay): add in-flight request dedup for OpenSky and RSS endpoints
Multiple connected clients polling simultaneously caused stampede on upstream
APIs (53 concurrent RSS MISS, 5 concurrent OpenSky requests for same bbox).
Wraps upstream fetches in a Promise stored in an in-flight Map — concurrent
requests for the same key await the single in-flight fetch and get served
from cache with X-Cache: DEDUP.
2026-02-21 07:28:39 +00:00
..