Files
frigate/frigate
Josh Hawkins 565328499c keep event cleanup running and fix storage usage keys
- Event cleanup ran with no exception handling inside its loop, so one error (a camera added or removed while it iterated the shared cameras dict, a DB error, a thumbnail unlink failure) ended event and snapshot retention until restart. Each cycle is now guarded, camera iterations use a snapshot, and thumbnail unlink errors are caught
- Camera keys were captured once at startup, so a camera added at runtime also matched the removed-camera branch and its events could expire early under the global retention. The keys are refreshed each cycle and the removed-camera label cache resets when they change
- Clip expiry had no has_clip filter and redid every past expiration each cycle. The queries now skip events already expired, and the dead clip unlink block is removed
- Storage usage was keyed by friendly name, so cameras sharing one merged into a single row. It is keyed by camera id and the storage graph resolves the display name
2026-11-23 15:54:35 -06:00
..
2026-11-14 07:34:17 -07:00
2026-11-23 07:02:15 -07:00
2026-09-19 08:10:36 -06:00
2026-11-17 14:25:05 -07:00
2026-11-20 07:59:53 -06:00
2026-11-23 07:02:15 -07:00
2026-11-14 07:34:17 -07:00
2026-11-02 08:11:27 -06:00
2021-01-26 21:40:33 -06:00
2026-11-06 07:43:38 -07:00
2026-10-10 15:01:33 -05:00
2026-11-06 07:43:38 -07:00
2026-03-26 12:54:12 -06:00