mirror of https://github.com/hashicorp/consul
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.pull/16123/head
parent
d53c331a37
commit
55e197fad7
|
@ -699,9 +699,11 @@ spec:
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'NumRetries',
|
name: 'NumRetries',
|
||||||
type: 'int: 0',
|
type: 'int: 1',
|
||||||
description:
|
description: {
|
||||||
'The number of times to retry the request when a retryable result occurs.',
|
hcl: 'The number of times to retry the request when a retryable result occurs. This cannot be set to 0 so if you wish 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. This cannot be set to 0 so if you wish to disable retries, unset all other retry settings (`retryOnConnectFailure`, `retryOn`, `retryOnStatusCodes`)',
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'RetryOnConnectFailure',
|
name: 'RetryOnConnectFailure',
|
||||||
|
|
Loading…
Reference in New Issue