mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
Document jitter
This commit is contained in:
@@ -245,7 +245,8 @@ The `restart` object supports the following keys:
|
||||
controlled by `mode`.
|
||||
|
||||
* `delay` - A duration to wait before restarting a task. It is specified as a
|
||||
time duration using the `s`, `m`, and `h` suffixes, such as `30s`.
|
||||
time duration using the `s`, `m`, and `h` suffixes, such as `30s`. A random
|
||||
jitter of up to 25% is added to the the delay.
|
||||
|
||||
* `on_success` - `on_success` controls whether a task is restarted when the
|
||||
task exits successfully.
|
||||
|
||||
Reference in New Issue
Block a user