From 05ac637aec086bc0983a5d25d3f1ad0816203b16 Mon Sep 17 00:00:00 2001 From: Masataka Mizukoshi Date: Mon, 1 May 2017 09:28:32 +0000 Subject: [PATCH 1/2] DOC:configuration.md: Change description of interval. Signed-off-by: Masataka Mizukoshi --- docs/configuration.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 805328ea7..4dfb9a9b9 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -223,9 +223,9 @@ notifications: disabled: false url: https://my.listener.com/event headers: - timeout: 500 + timeout: 10s threshold: 5 - backoff: 1000 + backoff: 20s ignoredmediatypes: - application/octet-stream redis: @@ -816,9 +816,9 @@ notifications: disabled: false url: https://my.listener.com/event headers: - timeout: 500 + timeout: 10s threshold: 5 - backoff: 1000 + backoff: 20s ignoredmediatypes: - application/octet-stream ``` @@ -947,7 +947,7 @@ a file. | Parameter | Required | Description | |-----------|----------|-------------------------------------------------------| | `file` | yes | The path to check for existence of a file. | -| `interval`| no | How long to wait before repeating the check. A positive integer and an optional suffix indicating the unit of time. The suffix is one of `ns`, `us`, `ms`, `s`, `m`, or `h`. Defaults to `10s` if the value is omitted. | +| `interval`| no | How long to wait before repeating the check. A positive integer and an optional suffix indicating the unit of time. The suffix is one of `ns`, `us`, `ms`, `s`, `m`, or `h`. Defaults to `10s` if the value is omitted. If you specify a value but omit the suffix, the value is interpreted as a number of nanoseconds. | ### `http` @@ -1109,7 +1109,7 @@ middleware: baseurl: http://d111111abcdef8.cloudfront.net privatekey: /path/to/asecret.pem keypairid: asecret - duration: 60 + duration: 60s ``` See the configuration reference for [Cloudfront](#cloudfront) for more From 7d8dab5fdc23c21546430d4f723e3c540d16b3f7 Mon Sep 17 00:00:00 2001 From: Masataka Mizukoshi Date: Thu, 4 May 2017 19:14:29 +0000 Subject: [PATCH 2/2] DOC:configuration.md: Change description of interval. Signed-off-by: Masataka Mizukoshi --- docs/configuration.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 4dfb9a9b9..995fe5dc3 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -223,9 +223,9 @@ notifications: disabled: false url: https://my.listener.com/event headers: - timeout: 10s - threshold: 5 - backoff: 20s + timeout: 1s + threshold: 10 + backoff: 1s ignoredmediatypes: - application/octet-stream redis: @@ -816,9 +816,9 @@ notifications: disabled: false url: https://my.listener.com/event headers: - timeout: 10s - threshold: 5 - backoff: 20s + timeout: 1s + threshold: 10 + backoff: 1s ignoredmediatypes: - application/octet-stream ```