make expire interval configurable for users wanting to minimize i/o

This commit is contained in:
Blake Blackshear
2022-02-05 08:51:18 -06:00
parent 2b7d38f947
commit 091648187f
3 changed files with 8 additions and 1 deletions

View File

@@ -224,6 +224,9 @@ motion:
record:
# Optional: Enable recording (default: shown below)
enabled: False
# Optional: Number of minutes to wait between cleanup runs (default: shown below)
# This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o
expire_interval: 60
# Optional: Retention settings for recording
retain:
# Optional: Number of days to retain recordings regardless of events (default: shown below)