From f326735a8b37548313d52b366539025bafec3191 Mon Sep 17 00:00:00 2001 From: Lance Walters Date: Sat, 21 Nov 2026 17:42:10 -0500 Subject: [PATCH] apps(osint): pin app to amd64-54897b49bc57 + ADS-B idle watch env osint-dashboard#68: the ADSB refresh loop persisted aircraft only for connected browser viewports, so aircraft_positions stalled whenever nobody had the map open. The new image sweeps the chokepoint presets while idle; this commit pins it and sets ADSB_REFRESH_INTERVAL/ADSB_WATCH_* explicitly instead of relying on app defaults. ingester/camera keep amd64-915f6cbe25be (no loop change there); pinning the ingester would restart it for nothing. --- apps/base/osint/app-deployment.yaml | 4 ++-- apps/base/osint/configmap.yaml | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/apps/base/osint/app-deployment.yaml b/apps/base/osint/app-deployment.yaml index 93ebf7f..99acbc1 100644 --- a/apps/base/osint/app-deployment.yaml +++ b/apps/base/osint/app-deployment.yaml @@ -24,7 +24,7 @@ spec: initContainers: # Wait for Postgres before alembic runs (the entrypoint migrates). - name: wait-for-db - image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-915f6cbe25be + image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-54897b49bc57 imagePullPolicy: IfNotPresent command: - python @@ -42,7 +42,7 @@ spec: sys.exit("postgres did not become reachable in 300s") containers: - name: app - image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-915f6cbe25be + image: forgejo.siriusdevops.com/sirius/osint-dashboard:amd64-54897b49bc57 imagePullPolicy: IfNotPresent ports: - containerPort: 8000 diff --git a/apps/base/osint/configmap.yaml b/apps/base/osint/configmap.yaml index bdc0e70..fa58991 100644 --- a/apps/base/osint/configmap.yaml +++ b/apps/base/osint/configmap.yaml @@ -36,6 +36,15 @@ data: VESSELAPI_IN_APP: "0" VESSELAPI_IN_INGEST: "1" + # ── ADS-B refresh (osint-app `_adsb_refresh_loop`) ────────────────────── + # The loop polls ADSB.lol for each connected browser viewport. With no tab + # open it used to persist nothing, and aircraft_positions stalled for a day + # (max(ts) frozen 2026-11-20 04:58 -> 2026-11-21) while USGS/news kept + # ingesting. While idle it now sweeps the chokepoint presets instead. + ADSB_REFRESH_INTERVAL: "8" + ADSB_WATCH_ENABLED: "1" + ADSB_WATCH_INTERVAL: "30" + # ── camera discovery service ──────────────────────────────────────────── CAMERA_SOURCE_URLS: "" CAMERA_SCRAPE_INTERVAL: "3600" -- 2.52.0