mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 03:32:19 +00:00
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.
723 B
723 B
- Stop the track-backfill proxies from spending the OpenSky credit budget the
main flights proxy is protecting.
/api/flights/trackand/api/military/tracknow carry an always-on 30-per-minute per-client limiter (90 global), and/api/flights/trackhonours the 429 cooldown that/api/flightsalready sets: while the account is out of budget it serves any cached track and otherwise answers429with the remaining cooldown rather than spending 4 more credits. The existing 60-second per-key cache bounds memory, not spend — a caller varyingicao24produced a fresh upstream call every time. Single-aircraft backfill, which is issued once per selected contact, is unaffected (daikaginza, #685).