From db1255aa7fe242491d3a5f1a148a2f255b78b42b Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 13 Dec 2021 06:51:03 -0600 Subject: [PATCH] disable disk sync on startup --- frigate/record.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frigate/record.py b/frigate/record.py index 43076b70a..3d6c0bd01 100644 --- a/frigate/record.py +++ b/frigate/record.py @@ -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)):