Display warning in frontend if shm size is too low (#19712)

* backend

refactor shm calculation to utility function so it can be used in frontend stats

* frontend

* fix check

* clean up
This commit is contained in:
Josh Hawkins
2025-08-22 13:48:27 -06:00
committed by GitHub
parent ee48d6782d
commit a88760efa1
6 changed files with 131 additions and 54 deletions
+5
View File
@@ -91,6 +91,11 @@
"tips": "This value represents the total storage used by the recordings in Frigate's database. Frigate does not track storage usage for all files on your disk.",
"earliestRecording": "Earliest recording available:"
},
"shm": {
"title": "SHM (shared memory) allocation",
"warning": "The current SHM size of {{total}}MB is too small. Increase it to at least {{min_shm}}MB.",
"readTheDocumentation": "Read the documentation"
},
"cameraStorage": {
"title": "Camera Storage",
"camera": "Camera",