Skip to main content

Module anr

Module anr 

Source
Expand description

ANR (Automatic Network Replenishment): persisted recording-gap listing + manual retry.

Listing a camera’s persisted recording gaps (the recording_gaps rows the indexer detects + the ANR loop fills) is open to any authenticated principal. Resetting a gap so the ANR loop retries it is a manager+ mutation and is written to the audit log.

NOTE the path is /recording-gaps (not /gaps): /api/v1/cameras/{id}/gaps (crate::routes::recordings) already serves COMPUTED coverage holes over a time window. This surface exposes the PERSISTED gap table (with fill state) that ANR acts on — a distinct resource.

Functions§

router