Skip to content

Commit

Permalink
backport of commit f5c47aa (#16685)
Browse files Browse the repository at this point in the history
This pull request was automerged via backport-assistant
  • Loading branch information
hc-github-team-nomad-core authored Mar 28, 2023
1 parent a83b3d1 commit 3299d83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions website/content/docs/configuration/client.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ see the [drivers documentation](/docs/drivers).
"blocking queries". A blocking query is used to wait for a potential change
using long polling.

- `consul_retry` `(map: { attempts = 0 backoff = "250ms" max_backoff = "1m" })`-
- `consul_retry` `(map: { attempts = 12 backoff = "250ms" max_backoff = "1m" })`-
This controls the retry behavior when an error is returned from Consul. The template
runner will not exit in the face of failure. Instead, it uses exponential back-off
and retry functions to wait for the Consul cluster to become available, as is
Expand All @@ -458,7 +458,7 @@ see the [drivers documentation](/docs/drivers).
# This specifies the number of attempts to make before giving up. Each
# attempt adds the exponential backoff sleep time. Setting this to
# zero will implement an unlimited number of retries.
attempts = 0
attempts = 12
# This is the base amount of time to sleep between retry attempts. Each
# retry sleeps for an exponent of 2 longer than this base. For 5 retries,
# the sleep times would be: 250ms, 500ms, 1s, 2s, then 4s.
Expand All @@ -472,7 +472,7 @@ see the [drivers documentation](/docs/drivers).
}
```

- `vault_retry` `(map: { attempts = 0 backoff = "250ms" max_backoff = "1m" })` -
- `vault_retry` `(map: { attempts = 12 backoff = "250ms" max_backoff = "1m" })` -
This controls the retry behavior when an error is returned from Vault. Consul
Template is highly fault tolerant, meaning it does not exit in the face of failure.
Instead, it uses exponential back-off and retry functions to wait for the cluster
Expand All @@ -483,7 +483,7 @@ see the [drivers documentation](/docs/drivers).
# This specifies the number of attempts to make before giving up. Each
# attempt adds the exponential backoff sleep time. Setting this to
# zero will implement an unlimited number of retries.
attempts = 0
attempts = 12
# This is the base amount of time to sleep between retry attempts. Each
# retry sleeps for an exponent of 2 longer than this base. For 5 retries,
# the sleep times would be: 250ms, 500ms, 1s, 2s, then 4s.
Expand All @@ -497,7 +497,7 @@ see the [drivers documentation](/docs/drivers).
}
```

- `nomad_retry` `(map: { attempts = 0 backoff = "250ms" max_backoff = "1m" })` -
- `nomad_retry` `(map: { attempts = 12 backoff = "250ms" max_backoff = "1m" })` -
This controls the retry behavior when an error is returned from Nomad. Consul
Template is highly fault tolerant, meaning it does not exit in the face of failure.
Instead, it uses exponential back-off and retry functions to wait for the cluster
Expand All @@ -508,7 +508,7 @@ see the [drivers documentation](/docs/drivers).
# This specifies the number of attempts to make before giving up. Each
# attempt adds the exponential backoff sleep time. Setting this to
# zero will implement an unlimited number of retries.
attempts = 0
attempts = 12
# This is the base amount of time to sleep between retry attempts. Each
# retry sleeps for an exponent of 2 longer than this base. For 5 retries,
# the sleep times would be: 250ms, 500ms, 1s, 2s, then 4s.
Expand Down

0 comments on commit 3299d83

Please sign in to comment.