test(adsbdb): size the limiter for two client queues and retry a 429

Review on #689: one tab runs two enrichment queues (Flights and Local
ADS-B) at 200 ms each, so a real session reaches 600/min, not 300; and a
429 left the aircraft's metadata empty for the session, because both
queues mark a key seen before dispatch and swallow the error. The cases
pin 600/min fitting, the GEV_RATELIMIT_ADSBDB_PER_MIN override (0 off),
and both queues asking again after the refusal. Four fail on the branch
as it stands.
This commit is contained in:
daikaginza committed 2026-10-23 12:39:32 +07:00
1 parent ed1e2771a0
commit b83e1a2c98
3 files changed
+148 -8

No files matched your search

+2 -1
View File
@@ -1087,5 +1087,6 @@
"src/ui/cctvBadges.test.mjs",
"scripts/qa-status-badges.mjs",
"src/dockerTrustedPeers.test.mjs",
"src/adsbdbCacheGovernor.test.mjs"
"src/adsbdbCacheGovernor.test.mjs",
"src/layers/enrichmentRateLimitRetry.test.mjs"
]