Increase max shm frames (#15009)

This commit is contained in:
Nicolas Mowen 2024-11-15 13:25:57 -07:00 committed by GitHub
parent 7fdf42a56f
commit e407ba47c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -516,7 +516,7 @@ class FrigateApp:
if cam_total_frame_size == 0.0: if cam_total_frame_size == 0.0:
return 0 return 0
shm_frame_count = min(50, int(available_shm / (cam_total_frame_size))) shm_frame_count = min(200, int(available_shm / (cam_total_frame_size)))
logger.debug( logger.debug(
f"Calculated total camera size {available_shm} / {cam_total_frame_size} :: {shm_frame_count} frames for each camera in SHM" f"Calculated total camera size {available_shm} / {cam_total_frame_size} :: {shm_frame_count} frames for each camera in SHM"