From 680f4c9fbef1a4e8017de0765b2e3f1884e31aaa Mon Sep 17 00:00:00 2001 From: Ben Breard Date: Thu, 1 Feb 2024 15:00:51 -0600 Subject: [PATCH] bootc-fetch-apply-updates.timer: RandomizedDelaySec= RandomizedDelaySec= is the best kept secret of timers. Signed-off-by: Ben Breard Signed-off-by: Colin Walters --- systemd/bootc-fetch-apply-updates.timer | 2 ++ 1 file changed, 2 insertions(+) diff --git a/systemd/bootc-fetch-apply-updates.timer b/systemd/bootc-fetch-apply-updates.timer index 4ad60cbb..4ebb6636 100644 --- a/systemd/bootc-fetch-apply-updates.timer +++ b/systemd/bootc-fetch-apply-updates.timer @@ -7,6 +7,8 @@ ConditionPathExists=/run/ostree-booted OnBootSec=1h # This time is relatively arbitrary and obviously expected to be overridden/changed OnUnitInactiveSec=8h +# When deploying a large number of systems, it may be beneficial to increase this value to help with load on the registry. +RandomizedDelaySec=2h [Install] WantedBy=timers.target