SHM tweaks (#15274)

* Use env var to control max number of frames

* Handle type

* Fix frame_name not being sent

* Formatting
This commit is contained in:
Nicolas Mowen
2024-12-01 10:39:35 -06:00
committed by GitHub
parent 5802a66469
commit 002fdeae67
3 changed files with 10 additions and 2 deletions
+3 -1
View File
@@ -480,7 +480,9 @@ class ReviewSegmentMaintainer(threading.Thread):
if not self.config.cameras[camera].record.enabled:
if current_segment:
self.update_existing_segment(current_segment, frame_time, [])
self.update_existing_segment(
current_segment, frame_name, frame_time, []
)
continue