From 997d23be27ffbc2484286b496a3bf6d084d93296 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 22 Aug 2025 14:22:58 -0500 Subject: [PATCH] fix check --- frigate/camera/maintainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/camera/maintainer.py b/frigate/camera/maintainer.py index 3f4791e20..865fe4725 100644 --- a/frigate/camera/maintainer.py +++ b/frigate/camera/maintainer.py @@ -84,7 +84,7 @@ class CameraMaintainer(threading.Thread): f"frames for each camera in SHM" ) - if shm_stats["min_shm"]: + if shm_stats["shm_frame_count"] < 20: logger.warning( f"The current SHM size of {shm_stats['total']}MB is too small, " f"recommend increasing it to at least {shm_stats['min_shm']}MB."