Commit Graph
2 Commits
Author SHA1 Message Date
daikaginza bfcf12af49 fix(server): give /tracks its own credit cooldown, armed by its own 429
The branch read the /states/all cooldown from /api/flights and never set
one from /tracks/all, which is backwards for an API that meters the two
separately: a flights cooldown blocked backfill that still had credits,
and a /tracks 429 left every other icao24 free to ask again.

tracks.js now keeps a cooldown for the /tracks bucket, armed by a 429
from /tracks/all with OpenSky's retry-after (opensky.js exports its
existing parser so both buckets read the header the same way). The two
routes get separate limiters, and a limiter refusal sends Retry-After 60,
the window, rather than 10.
2026-10-23 12:34:46 +07:00
daikaginza 5668c0c08b docs(changelog): move the entry into a changelog.d fragment
Main now takes pending entries as changelog.d/<pr>-<slug>.md
files (#787), so the entry leaves CHANGELOG.md for changelog.d/685-opensky-track-credit-governor.md.
2026-10-18 13:35:41 +07:00