Set back correct loop time

This commit is contained in:
Nick Mowen 2022-09-26 18:40:07 -06:00
parent 3411f47ca1
commit 870e09e0da
2 changed files with 7 additions and 8 deletions

View File

@ -13,16 +13,15 @@ services:
build:
context: .
dockerfile: docker/Dockerfile.dev
#devices:
# - /dev/bus/usb:/dev/bus/usb
# - /dev/dri:/dev/dri # for intel hwaccel, needs to be updated for your hardware
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/dri:/dev/dri # for intel hwaccel, needs to be updated for your hardware
volumes:
- /etc/localtime:/etc/localtime:ro
- .:/lab/frigate:cached
- ./config/:/config/:rw
#- ./debug:/media/frigate
- /Volumes/small:/media/frigate:rw
# - /dev/bus/usb:/dev/bus/usb
- ./config/config.yml:/config/config.yml:ro
- ./debug:/media/frigate
- /dev/bus/usb:/dev/bus/usb
ports:
- "1935:1935"
- "3000:3000"

View File

@ -150,7 +150,7 @@ class StorageMaintainer(threading.Thread):
def run(self):
"""Check every 5 minutes if storage needs to be cleaned up."""
while not self.stop_event.wait(20):
while not self.stop_event.wait(300):
if not self.camera_storage_stats or False in [
r["needs_refresh"] for r in self.camera_storage_stats.values()