Skip to content

Commit

Permalink
bootc-fetch-apply-updates.timer: RandomizedDelaySec=
Browse files Browse the repository at this point in the history
RandomizedDelaySec= is the best kept secret of timers.

Signed-off-by: Ben Breard <[email protected]>
Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
mrguitar authored and cgwalters committed Feb 2, 2024
1 parent 70a6c76 commit 680f4c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions systemd/bootc-fetch-apply-updates.timer
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 680f4c9

Please sign in to comment.