This commit is contained in:
Josh Hawkins 2025-08-22 14:29:13 -05:00
parent 997d23be27
commit c7b35f7878
2 changed files with 2 additions and 2 deletions

View File

@ -380,7 +380,7 @@ def stats_snapshot(
"last_updated": int(time.time()), "last_updated": int(time.time()),
} }
for path in [RECORD_DIR, CLIPS_DIR, CACHE_DIR, "/dev/shm"]: for path in [RECORD_DIR, CLIPS_DIR, CACHE_DIR]:
try: try:
storage_stats = shutil.disk_usage(path) storage_stats = shutil.disk_usage(path)
except (FileNotFoundError, OSError): except (FileNotFoundError, OSError):

View File

@ -93,7 +93,7 @@
}, },
"shm": { "shm": {
"title": "SHM (shared memory) allocation", "title": "SHM (shared memory) allocation",
"warning": "The current SHM size of {{total}}MB is too small, recommend increasing to {{min_shm}}MB.", "warning": "The current SHM size of {{total}}MB is too small. Increase it to at least {{min_shm}}MB.",
"readTheDocumentation": "Read the documentation" "readTheDocumentation": "Read the documentation"
}, },
"cameraStorage": { "cameraStorage": {