summaryrefslogtreecommitdiff
path: root/test/python
diff options
context:
space:
mode:
authorrugk <rugk+git@posteo.de>2021-07-15 20:33:41 +0200
committerrugk <rugk+git@posteo.de>2021-07-15 20:40:35 +0200
commit7996e2b824358499643c9dc91948c34348db28d3 (patch)
treedf6bac502b593e2e677fceca0f9ae691f5a867e7 /test/python
parentd24fc6b84384cbe4188db941ad452f02d3713540 (diff)
downloadpodman-7996e2b824358499643c9dc91948c34348db28d3.tar.gz
podman-7996e2b824358499643c9dc91948c34348db28d3.tar.bz2
podman-7996e2b824358499643c9dc91948c34348db28d3.zip
Randomize the auto-update of podman containers
This makes sure, that the podman auto-update is not executed exactly at midnight for the same time always. If many things do the same and many services use this keyword and react at midnight, this can cause a lot of stress to a server. Thus, this adds a 900s/15min delay. As [the arch wiki says](https://wiki.archlinux.org/title/Systemd/Timers#Realtime_timer): > Special event expressions like daily and weekly refer to specific start times and thus any timers sharing such calendar events will start simultaneously. Timers sharing start events can cause poor system performance if the timers' services compete for system resources. The RandomizedDelaySec option in the [Timer] section avoids this problem by randomly staggering the start time of each timer. See systemd.timer(5). Signed-off-by: rugk <rugk+git@posteo.de>
Diffstat (limited to 'test/python')
0 files changed, 0 insertions, 0 deletions