mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-06 19:25:22 +03:00
Log when storage maintenance is happening
This commit is contained in:
parent
26cc34dbf7
commit
3ee906191c
@ -185,6 +185,7 @@ class StorageMaintainer(threading.Thread):
|
|||||||
logger.debug(f"Default camera bandwidths: {self.camera_storage_stats}.")
|
logger.debug(f"Default camera bandwidths: {self.camera_storage_stats}.")
|
||||||
|
|
||||||
if self.check_storage_needs_cleanup():
|
if self.check_storage_needs_cleanup():
|
||||||
|
logger.info("Less than 1 hour of recording space left, running storage maintenance...")
|
||||||
self.reduce_storage_consumption()
|
self.reduce_storage_consumption()
|
||||||
|
|
||||||
logger.info("Exiting storage maintainer...")
|
logger.info("Exiting storage maintainer...")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user