mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-06 11:24:00 +00:00
#686 moved its changelog entry from CHANGELOG.md into changelog.d/686-terrain-heights-bounds.md. Take #686's side so this branch no longer edits CHANGELOG.md directly and no longer conflicts with #686. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
commit
256d7c273e
2 files changed
+9
-10
No files matched your search
@@ -1,15 +1,5 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
- Bound what a caller can grow through `/api/terrain/heights`. Every distinct
|
|
||||||
5-decimal point was a permanent in-memory entry, a permanent line in an
|
|
||||||
uncapped `.gev-cache/terrain-heights.json`, and a live upstream call, with
|
|
||||||
nothing limiting the rate. The point cache now holds at most 50,000 entries
|
|
||||||
and evicts oldest-first, a cache file above
|
|
||||||
24 MB is not read back, and the route is limited to 90 requests/minute per
|
|
||||||
client (270 global). Evicting a point costs one refetch, never a wrong
|
|
||||||
answer, since terrain does not move. Ordinary use is unaffected: a full
|
|
||||||
`test:track` run drives 10 requests, peaking at 8/min.
|
|
||||||
|
|
||||||
- The tracked-aircraft descriptor now publishes `verticalRateMps`, on both the
|
- The tracked-aircraft descriptor now publishes `verticalRateMps`, on both the
|
||||||
civil and military layers, so a consumer reading `getTrackedInfo()` no longer
|
civil and military layers, so a consumer reading `getTrackedInfo()` no longer
|
||||||
has to reach past it into the raw poll record for climb/descent. Reported,
|
has to reach past it into the raw poll record for climb/descent. Reported,
|
||||||
|
|||||||
@@ -0,0 +1,9 @@
|
|||||||
|
- Bound what a caller can grow through `/api/terrain/heights`. Every distinct
|
||||||
|
5-decimal point was a permanent in-memory entry, a permanent line in an
|
||||||
|
uncapped `.gev-cache/terrain-heights.json`, and a live upstream call, with
|
||||||
|
nothing limiting the rate. The point cache now holds at most 50,000 entries
|
||||||
|
and evicts oldest-first, a cache file above
|
||||||
|
24 MB is not read back, and the route is limited to 90 requests/minute per
|
||||||
|
client (270 global). Evicting a point costs one refetch, never a wrong
|
||||||
|
answer, since terrain does not move. Ordinary use is unaffected: a full
|
||||||
|
`test:track` run drives 10 requests, peaking at 8/min (daikaginza, #686).
|
||||||
Reference in new issue
Block a user