fix(satellites): a current SATCAT read is kept six hours instead of re-reading eleven groups every update; the tracking regression serves SATCAT locally

This commit is contained in:
Sameh Khamis committed 2026-11-08 15:16:01 -08:00
1 parent 3bb742ae7e
commit cc24da165b
4 files changed
+71 -2

No files matched your search

+3
View File
@@ -48,6 +48,9 @@ export function createState({ services }) {
// How current the SATCAT records behind the classes are: null before any
// read, then 'current' | 'stale' | 'unavailable' (see ingestion.js).
state._satcatState = null;
// When _satcatState was last set (Date.now()); a current read is kept
// SATCAT_KEEP_MS (src/layers/satellites/ingestion.js).
state._satcatReadAtMs = Number.NEGATIVE_INFINITY;
state._denseStale = false;
state._activeUpdateControllers = new Set();