fix(cameras): stop publishing discovery rows as events
Camera scrapes still upsert the cameras table. They no longer JetStream-publish events.camera messages, which the ingester was inserting as HUD event spam.
This commit is contained in:
parent
d04ddc9afa
commit
9809fdf05b
4 changed files with 82 additions and 59 deletions
|
|
@ -59,7 +59,8 @@ SNAPSHOT_CACHE_DIR = os.getenv("SNAPSHOT_CACHE_DIR", "/data/snapshots")
|
|||
SNAPSHOT_TTL_SECONDS = int(os.getenv("SNAPSHOT_TTL_SECONDS", "300"))
|
||||
SNAPSHOT_TIMEOUT = float(os.getenv("SNAPSHOT_TIMEOUT", "8.0"))
|
||||
|
||||
# NATS subject cameras are published on (consumed by the shared ingester).
|
||||
# Retained so an old CAMERA_NATS_SUBJECT env does not surprise operators.
|
||||
# This service does not publish on it; cameras live in the cameras table.
|
||||
CAMERA_NATS_SUBJECT = os.getenv("CAMERA_NATS_SUBJECT", "events.camera")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue