From 7536f7c769579a643cb484504bb31dc6f7ffd95e Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Thu, 17 Dec 2015 16:39:47 -0800 Subject: [PATCH] Document jitter --- website/source/docs/jobspec/index.html.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/website/source/docs/jobspec/index.html.md b/website/source/docs/jobspec/index.html.md index 19a97c180..f55251c2b 100644 --- a/website/source/docs/jobspec/index.html.md +++ b/website/source/docs/jobspec/index.html.md @@ -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.