mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 03:35:26 +03:00
Decrease timeout
This commit is contained in:
parent
2b2c831253
commit
e4320c7883
@ -452,7 +452,7 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
current_tracked_objects,
|
current_tracked_objects,
|
||||||
motion_boxes,
|
motion_boxes,
|
||||||
regions,
|
regions,
|
||||||
) = self.object_recordings_info_queue.get(True, timeout=0.01)
|
) = self.object_recordings_info_queue.get(True, timeout=0.001)
|
||||||
|
|
||||||
if frame_time < run_start - stale_frame_count_threshold:
|
if frame_time < run_start - stale_frame_count_threshold:
|
||||||
stale_frame_count += 1
|
stale_frame_count += 1
|
||||||
@ -488,7 +488,7 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
frame_time,
|
frame_time,
|
||||||
dBFS,
|
dBFS,
|
||||||
audio_detections,
|
audio_detections,
|
||||||
) = self.audio_recordings_info_queue.get(True, timeout=0.01)
|
) = self.audio_recordings_info_queue.get(True, timeout=0.001)
|
||||||
|
|
||||||
if frame_time < run_start - stale_frame_count_threshold:
|
if frame_time < run_start - stale_frame_count_threshold:
|
||||||
stale_frame_count += 1
|
stale_frame_count += 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user