mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-23 03:32:19 +00:00
Merge upstream main 9d3548c27 into fix/opensky-track-credit-governor
Upstream retired the ADSB.lol trace behind /api/military/track: the route now answers a fixed 503 without contacting any upstream. The limiter this branch put on that route guarded an adsb.lol call that no longer happens, so it is dropped, and the limiter, its test, the changelog entry and CURRENT-STATE now describe /api/flights/track alone. The military layer backfills through its source's getTrack, so the demand note names only the flights layer.
This commit is contained in:
commit
678a816e65
102 files changed
+6396
-424
No files matched your search
@@ -1,6 +1,6 @@
|
||||
- Stop the track-backfill proxies from turning a varied `icao24`/`hex` into
|
||||
unbounded upstream spend. `/api/flights/track` and `/api/military/track`
|
||||
each carry an always-on 30-per-minute per-client limiter (90 global), and a
|
||||
- Stop the OpenSky track-backfill proxy from turning a varied `icao24` into
|
||||
unbounded upstream spend. `/api/flights/track` carries an always-on
|
||||
30-per-minute per-client limiter (90 global), and a
|
||||
`429` from OpenSky `/tracks/all` now starts a cooldown for that credit
|
||||
bucket: until OpenSky's retry-after passes, any cached track is served and
|
||||
other lookups are answered `429` locally instead of asking for 4 more
|
||||
|
||||
Reference in new issue
Block a user