Skip to content

Commit

Permalink
disable disk sync on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeblackshear committed Dec 13, 2021
1 parent 609b436 commit db1255a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frigate/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -544,8 +544,8 @@ def sync_recordings(self):
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)):
Expand Down

0 comments on commit db1255a

Please sign in to comment.