Skip to main content

Module retention

Module retention 

Source
Expand description

Retention sweeper: deletes recordings past each camera’s age policy, and enforces a global size cap by pruning the oldest deletable segments. Segments under a durable evidence hold (evidence_locked = 1) are never deleted, and a segment with a transient export read-lock (locked = 1) is skipped while the export is in flight. Both are excluded from every prune.

Functions§

run