mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 02:05:21 +03:00
Fix
This commit is contained in:
parent
94edae1cac
commit
5dd088f8e5
@ -22,7 +22,6 @@ import os
|
|||||||
import psutil
|
import psutil
|
||||||
import pytz
|
import pytz
|
||||||
|
|
||||||
from frigate.config import FrigateConfig
|
|
||||||
from frigate.const import REGEX_HTTP_CAMERA_USER_PASS, REGEX_RTSP_CAMERA_USER_PASS
|
from frigate.const import REGEX_HTTP_CAMERA_USER_PASS, REGEX_RTSP_CAMERA_USER_PASS
|
||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
@ -628,7 +627,7 @@ def clipped(obj, frame_shape):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
||||||
def restart_frigate(config: FrigateConfig):
|
def restart_frigate(config):
|
||||||
# disable detect for cameras to speed up restart
|
# disable detect for cameras to speed up restart
|
||||||
for _, camera in config.cameras.items():
|
for _, camera in config.cameras.items():
|
||||||
camera.detect.enabled = False
|
camera.detect.enabled = False
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user