mirror of
https://github.com/distribution/distribution
synced 2024-11-06 19:35:52 +01:00
Merge pull request #2262 from m-masataka/add_description_of_timeout
DOC:configuration.md: Change description of interval.
This commit is contained in:
commit
ce936a8591
@ -223,9 +223,9 @@ notifications:
|
|||||||
disabled: false
|
disabled: false
|
||||||
url: https://my.listener.com/event
|
url: https://my.listener.com/event
|
||||||
headers: <http.Header>
|
headers: <http.Header>
|
||||||
timeout: 500
|
timeout: 1s
|
||||||
threshold: 5
|
threshold: 10
|
||||||
backoff: 1000
|
backoff: 1s
|
||||||
ignoredmediatypes:
|
ignoredmediatypes:
|
||||||
- application/octet-stream
|
- application/octet-stream
|
||||||
redis:
|
redis:
|
||||||
@ -816,9 +816,9 @@ notifications:
|
|||||||
disabled: false
|
disabled: false
|
||||||
url: https://my.listener.com/event
|
url: https://my.listener.com/event
|
||||||
headers: <http.Header>
|
headers: <http.Header>
|
||||||
timeout: 500
|
timeout: 1s
|
||||||
threshold: 5
|
threshold: 10
|
||||||
backoff: 1000
|
backoff: 1s
|
||||||
ignoredmediatypes:
|
ignoredmediatypes:
|
||||||
- application/octet-stream
|
- application/octet-stream
|
||||||
```
|
```
|
||||||
@ -947,7 +947,7 @@ a file.
|
|||||||
| Parameter | Required | Description |
|
| Parameter | Required | Description |
|
||||||
|-----------|----------|-------------------------------------------------------|
|
|-----------|----------|-------------------------------------------------------|
|
||||||
| `file` | yes | The path to check for existence of a file. |
|
| `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`
|
### `http`
|
||||||
|
|
||||||
@ -1109,7 +1109,7 @@ middleware:
|
|||||||
baseurl: http://d111111abcdef8.cloudfront.net
|
baseurl: http://d111111abcdef8.cloudfront.net
|
||||||
privatekey: /path/to/asecret.pem
|
privatekey: /path/to/asecret.pem
|
||||||
keypairid: asecret
|
keypairid: asecret
|
||||||
duration: 60
|
duration: 60s
|
||||||
```
|
```
|
||||||
|
|
||||||
See the configuration reference for [Cloudfront](#cloudfront) for more
|
See the configuration reference for [Cloudfront](#cloudfront) for more
|
||||||
|
Loading…
Reference in New Issue
Block a user