feat: lean-Pi WS fan-out, geofences, DVR playback, fire/aircraft correlation #7
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "feat/osint-lean-pi-geofence-dvr"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
moveenddebounce, cachetools TTLCache for FIRMS/RSS, background masscan/ffmpeg, compose memory caps (db 3G / app 2G,shared_buffers=2GB).ST_Intersectsingest alerts, Timescale 1-minute CAGGs + DVR?timestamp=playback slider, FIRMS/WFIGS × firefighting ADS-B within 20 miles.masterso AIS viewport subscribe (POST /api/vessels/subscribe) is kept.Motivation
Kanban t_93b74d04 + t_05aa0e54 (backend profile). Pi 5 8GB, Tailnet. No Redis / Kafka / Celery.
Changes
app/ws_manager.py+/ws/live— viewport-intersect fan-outapp/upstream_cache.py— TTLCache (FIRMS 5 min, RSS 1 min)app/bg_jobs.py— masscan 200 pps cap via BackgroundTasks; ffmpeg viaasyncio.create_taskapp/geofence.py,app/tracks.py,app/fire_aircraft.py, alembic005_phase2.pydocker-compose.ymlmemory limits + postgresshared_buffers=2GBTest Plan
PYTHONPATH=app pytest tests/test_ws_manager.py tests/test_upstream_cache.py tests/test_bg_jobs.py tests/test_phase1_guardrails.py tests/test_geofence.py tests/test_tracks.py tests/test_fire_aircraft.py tests/test_phase2_api.py tests/test_api_live_layers.py -q→ 37 passed after rebasemaster)Notes for Reviewers
rtsp://in camera popups.fix/news-ticker-hud; this PR is replayed ontoforgejo/master(8978324).originnot updated (stalemaster); Forgejo is the deploy path.