mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-16 12:02:09 +03:00
clean up
This commit is contained in:
parent
997d23be27
commit
c7b35f7878
@ -380,7 +380,7 @@ def stats_snapshot(
|
||||
"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:
|
||||
storage_stats = shutil.disk_usage(path)
|
||||
except (FileNotFoundError, OSError):
|
||||
|
||||
@ -93,7 +93,7 @@
|
||||
},
|
||||
"shm": {
|
||||
"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"
|
||||
},
|
||||
"cameraStorage": {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user