Skip to content

Commit cf2ecbb

Browse files
authored
Merge pull request #105 from amutable/normal-udpate-timer
contrib: increase quarry update timer to 1h
2 parents 246d544 + 10eb98a commit cf2ecbb

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

‎contrib/systemd/quarry-sysupdate.timer‎

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,10 @@ Description=Quarry-Based Automatic System Update
1111
ConditionVirtualization=!container
1212

1313
[Timer]
14-
Persistent=yes
15-
# To make update provisioning more responsive, trigger updates on a minimum
16-
# 2-minute interval (and 1 minute after boot). For large update payloads (like
17-
# installing k8s) the update might take a while so we add a minimum 2 minute
18-
# trigger from the unit start and end to make sure we never wait more than 2
19-
# minutes.
20-
#
21-
# FIXME: This is a workaround for ACP not being able to trigger updates via
22-
# the "kickd" backchannel at the moment, in future this should probably be
23-
# bumped higher? Or maybe we should still do this if the machine has no
24-
# backchannel with the ACP? For obvious reasons this will probably not scale.
2514
OnBootSec=1min
26-
OnUnitActiveSec=2min
27-
OnUnitInactiveSec=2min
28-
RandomizedDelaySec=20sec
15+
OnUnitActiveSec=1h
16+
# RandomizedDelay is applied to both options above
17+
RandomizedDelaySec=20min
2918

3019
[Install]
3120
WantedBy=timers.target

0 commit comments

Comments
 (0)