mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-22 23:11:54 +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()),
|
"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):
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user