docs: Rename TTL to Timeout in Script/TCP checks

TTL and Interval options were made mutually exclusive in
https://github.com/hashicorp/consul/pull/3560.

Change to Timeout, which is a correct parameter for HTTP, Script, and
TCP checks.

Resolves #6343
pull/6868/head
Blake Covarrubias 5 years ago committed by Blake Covarrubias
parent aed5cb7669
commit e42ff8dd76

@ -224,7 +224,7 @@ The table below shows this endpoint's support for
"Header": {"x-foo":["bar", "baz"]},
"TCP": "example.com:22",
"Interval": "10s",
"TTL": "15s",
"Timeout": "5s",
"TLSSkipVerify": true
}
```

@ -610,9 +610,8 @@ For the `Connect` field, the parameters are:
"Check": {
"DeregisterCriticalServiceAfter": "90m",
"Args": ["/usr/local/bin/check_redis.py"],
"HTTP": "http://localhost:5000/health",
"Interval": "10s",
"TTL": "15s"
"Timeout": "5s"
},
"Weights": {
"Passing": 10,

Loading…
Cancel
Save