Merge remote-tracking branch 'origin/pr945' into codex/cctv-shared-batch-20261019

This commit is contained in:
Said committed 2026-10-19 22:50:20 +01:00
commit 1bccc295f0
6 files changed
+399 -54

No files matched your search

@@ -7,9 +7,11 @@
time; a cold lookup takes about 6–13 s. Cameras over water use the water
surface rather than the sea-floor depth the API returns there; for bridge
cameras that is still below the deck. Heights are cached for good and misses
for 6 h, so a refresh only asks about new or moved cameras. After a 429, a
5xx or a network failure the lookup stops and backs off (Retry-After, else
10 min). The lane waits at most 12 s from its start; a slower first lookup
leaves the cameras it had not reached on the flat prior until the next
15-minute refresh, and keeps filling the cache meanwhile.
for 6 h, so a refresh only asks about new or moved cameras. After a
failing request (a 408, 429 or 5xx, a network error, a request over 10 s or
an unreadable body) the lookup stops and backs off (Retry-After, else
30 min, longer than the refresh). The lane waits at most 12 s from its
start, and only on a cold cache; a slower first lookup leaves the cameras it
had not reached on the flat prior until the next 15-minute refresh, and
keeps filling the cache meanwhile.
`CCTV_VEGVESEN_HEIGHTS=0` turns it off. Follow-up to #929 (trygvehhh, #945).