Sat updates

This commit is contained in:
2026-09-11 00:40:48 -04:00
parent 79acad8c07
commit 2b31bdde8f
6 changed files with 358 additions and 112 deletions

View File

@@ -1,9 +1,9 @@
import {cfg} from './config.mjs';
import {isEqual} from '@ztimson/utils';
const HISTORY_LIMIT = 500
const POLL_MS = 5_000
const TTL_MS = 15 * 60_000 // drop a satellite's bucket if nothing new for 15 min
const HISTORY_LIMIT = 500;
const POLL_MS = 5_000;
const TTL_MS = 60_000;
function parseWm(raw) {
const f = raw.replace(/<[^>]+>/g, '').split(',').map(s => s.trim());