diff options
author | Kristijan Gjoshev <crypter@mail.com> | 2020-02-01 18:27:08 +0100 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2020-11-05 19:59:33 +0100 |
commit | acf24a1a84e9496e3feb09449f4cc43fe67a9a64 (patch) | |
tree | 4f0ea72d0e2f6b20aea5c51c489574c63ec0ef81 /docs/TRANSIENT-SETTINGS.md | |
parent | man: add <option> around default booleans in systemd.timer (diff) | |
download | systemd-acf24a1a84e9496e3feb09449f4cc43fe67a9a64.tar.xz systemd-acf24a1a84e9496e3feb09449f4cc43fe67a9a64.zip |
timer: add new feature FixedRandomDelay=
FixedRandomDelay=yes will use
`siphash24(sd_id128_get_machine() || MANAGER_IS_SYSTEM(m) || getuid() || u->id)`,
where || is concatenation, instead of a random number to choose a value between
0 and RandomizedDelaySec= as the timer delay.
This essentially sets up a fixed, but seemingly random, offset for each timer
iteration rather than having a random offset recalculated each time it fires.
Closes #10355
Co-author: Anita Zhang <the.anitazha@gmail.com>
Diffstat (limited to 'docs/TRANSIENT-SETTINGS.md')
-rw-r--r-- | docs/TRANSIENT-SETTINGS.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/TRANSIENT-SETTINGS.md b/docs/TRANSIENT-SETTINGS.md index f0dc2ee20f..50b9a42fa1 100644 --- a/docs/TRANSIENT-SETTINGS.md +++ b/docs/TRANSIENT-SETTINGS.md @@ -374,6 +374,7 @@ Most timer unit settings are available to transient units. ✓ RemainAfterElapse= ✓ AccuracySec= ✓ RandomizedDelaySec= +✓ FixedRandomDelay= Unit= ``` |