From eb1d9e4da96dbcd0e3b9eb0eb74d4488e5c0c538 Mon Sep 17 00:00:00 2001 From: Christoph Anton Mitterer Date: Sat, 12 Nov 2022 04:59:19 +0100 Subject: [PATCH] contrib: systemd: btrbk.timer: use default systemd `AccuracySec` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit systemd’s `AccuracySec` is mainly there in order to allow it to coalescing wake-ups for multiple timers. It’s default of `1min` minute should be enough for this. Using its `RandomizedDelaySec` in order to spread load from e.g. multiple sources that would all perform backups to one target, wouldn’t really make much sense either. Either, the value would need to be quite large, thereby making backups/snapshots too wobbly, or it wouldn’t be effective as at least the backups typically take quite some time. Signed-off-by: Christoph Anton Mitterer --- contrib/systemd/btrbk.timer.in | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/systemd/btrbk.timer.in b/contrib/systemd/btrbk.timer.in index 0da6c15..96760ee 100644 --- a/contrib/systemd/btrbk.timer.in +++ b/contrib/systemd/btrbk.timer.in @@ -5,7 +5,6 @@ ConditionPathExists=|@CONFDIR@/btrbk.conf [Timer] OnCalendar=hourly -AccuracySec=10min Persistent=true [Install]