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,
|
||||
motion_boxes,
|
||||
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:
|
||||
stale_frame_count += 1
|
||||
@ -488,7 +488,7 @@ class RecordingMaintainer(threading.Thread):
|
||||
frame_time,
|
||||
dBFS,
|
||||
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:
|
||||
stale_frame_count += 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user