mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-01-07 00:06:57 +01:00
disable disk sync on startup
This commit is contained in:
parent
7c74bf2566
commit
e6292c719d
@ -544,8 +544,8 @@ class RecordingCleanup(threading.Thread):
|
||||
logger.debug("End sync recordings.")
|
||||
|
||||
def run(self):
|
||||
# on startup sync recordings with disk
|
||||
self.sync_recordings()
|
||||
# on startup sync recordings with disk (disabled due to too much CPU usage)
|
||||
# self.sync_recordings()
|
||||
|
||||
# Expire tmp clips every minute, recordings and clean directories every hour.
|
||||
for counter in itertools.cycle(range(60)):
|
||||
|
Loading…
Reference in New Issue
Block a user