summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon duSaint2023-10-02 11:22:00 -0700
committerJon duSaint2023-10-02 11:22:00 -0700
commitef38f7e82722909183c13282cb20de3b592c8f78 (patch)
treea5d8f1503517ba0707607c9e6c6ca5406d148050
parent572baa6c85ab8bbe181b3709c0620156633b6393 (diff)

reolink: Set default retention to 72 hours

There’s plenty of storage; may as well keep images around longer.

-rwxr-xr-xreolink/reolink4
1 files changed, 2 insertions, 2 deletions
diff --git a/reolink/reolink b/reolink/reolink
index 0b18167..99b03a6 100755
--- a/reolink/reolink
+++ b/reolink/reolink
@@ -22,8 +22,8 @@ my $global_config = \%default_config;
# 30s is 1920 shots over 16 hours. At 24fps, this makes a 1:20 video.
my ($min_interval, $interval, $max_interval) = (10, 30, 600);
-# Retain images in the spool 24 hours by default
-my $spool_retention_time = 24;
+# Retain images in the spool 72 hours by default
+my $spool_retention_time = 72;
my $default_video_range = '0530-2130';
my ($video_format, $video_extension) = ('h264', 'mp4'); # ('vp9', 'webm') also supported
my @video_extensions = qw(mp4 webm); # enumeration of all supported types - used to generate HTML