Document how numRetries can't be set to 0 (#16123)
* Document how numRetries can't be set to 0 Resolves https://github.com/hashicorp/consul/issues/11816 and https://github.com/hashicorp/consul/issues/8516. * Update website/content/docs/connect/config-entries/service-router.mdx Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com> --------- Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
This commit is contained in:
parent
77f6b20db0
commit
1178b6e48c
|
@ -699,9 +699,11 @@ spec:
|
|||
},
|
||||
{
|
||||
name: 'NumRetries',
|
||||
type: 'int: 0',
|
||||
description:
|
||||
'The number of times to retry the request when a retryable result occurs.',
|
||||
type: 'int: 1',
|
||||
description: {
|
||||
hcl: 'The number of times to retry the request when a retryable result occurs. You cannot set the value to `0`. To disable retries, unset all other retry settings (`RetryOnConnectFailure`, `RetryOn`, `RetryOnStatusCodes`)',
|
||||
yaml: 'The number of times to retry the request when a retryable result occurs. You cannot set the value to `0`. To disable retries, unset all other retry settings (`retryOnConnectFailure`, `retryOn`, `retryOnStatusCodes`)',
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'RetryOnConnectFailure',
|
||||
|
|
Loading…
Reference in New Issue