mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
increase randomized delay of persistent timers
This reduces the chance of a timer executing a time consuming service close to boot, potentially speeding up boot (or at least making `systemd-analyze blame` look better).
This commit is contained in:
parent
3692582920
commit
04b62197a1
4 changed files with 7 additions and 7 deletions
|
|
@ -3,8 +3,8 @@ Description=Clean-up Old Pacman Files
|
|||
|
||||
[Timer]
|
||||
OnCalendar=daily
|
||||
AccuracySec=1h
|
||||
Persistent=True
|
||||
Persistent=true
|
||||
RandomizedDelaySec=3h
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ Description=Reflector Update Timer
|
|||
[Timer]
|
||||
Unit=reflector-update.service
|
||||
OnCalendar=daily
|
||||
Persistent=True
|
||||
RandomizedDelaySec=1h
|
||||
Persistent=true
|
||||
RandomizedDelaySec=3h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ Description=Unbound Root Hints Update Timer
|
|||
[Timer]
|
||||
OnCalendar=monthly
|
||||
Persistent=true
|
||||
RandomizedDelaySec=3600
|
||||
RandomizedDelaySec=3h
|
||||
Unit=roothints.service
|
||||
|
||||
[Install]
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
Description=GNU Units Currency Update Timer
|
||||
|
||||
[Timer]
|
||||
Unit=units_cur.service
|
||||
OnCalendar=daily
|
||||
Persistent=true
|
||||
RandomizedDelaySec=3600
|
||||
Unit=units_cur.service
|
||||
RandomizedDelaySec=3h
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue