mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-22 23:11:54 +03:00
fix check
This commit is contained in:
parent
0a98297672
commit
997d23be27
@ -84,7 +84,7 @@ class CameraMaintainer(threading.Thread):
|
|||||||
f"frames for each camera in SHM"
|
f"frames for each camera in SHM"
|
||||||
)
|
)
|
||||||
|
|
||||||
if shm_stats["min_shm"]:
|
if shm_stats["shm_frame_count"] < 20:
|
||||||
logger.warning(
|
logger.warning(
|
||||||
f"The current SHM size of {shm_stats['total']}MB is too small, "
|
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."
|
f"recommend increasing it to at least {shm_stats['min_shm']}MB."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user