mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-04 10:15:22 +03:00
Update record.py
I'd like to test a higher limit for recording segments to avoid recording loss. Say, changing 5 to 20. Is there a downside apart from using a bit more cache?
This commit is contained in:
parent
b6b10e753f
commit
ee85c5bc2f
@ -95,8 +95,8 @@ class RecordingMaintainer(threading.Thread):
|
||||
}
|
||||
)
|
||||
|
||||
# delete all cached files past the most recent 5
|
||||
keep_count = 5
|
||||
# delete all cached files past the most recent 20
|
||||
keep_count = 20
|
||||
for camera in grouped_recordings.keys():
|
||||
segment_count = len(grouped_recordings[camera])
|
||||
if segment_count > keep_count:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user