mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 23:57:07 +00:00
website: document TTL check persistence
This commit is contained in:
parent
1636a35289
commit
e872587e19
@ -37,7 +37,10 @@ There are three different kinds of checks:
|
|||||||
set to the failed state. This mechanism, conceptually similar to a dead man's switch,
|
set to the failed state. This mechanism, conceptually similar to a dead man's switch,
|
||||||
relies on the application to directly report its health. For example, a healthy app
|
relies on the application to directly report its health. For example, a healthy app
|
||||||
can periodically `PUT` a status update to the HTTP endpoint; if the app fails, the TTL will
|
can periodically `PUT` a status update to the HTTP endpoint; if the app fails, the TTL will
|
||||||
expire and the health check enters a critical state.
|
expire and the health check enters a critical state. TTL checks also persist
|
||||||
|
their last known status to disk. This allows the Consul agent to restore the
|
||||||
|
last known status of the check across restarts. Persisted check status is
|
||||||
|
valid through the end of the TTL from the time of the last check.
|
||||||
|
|
||||||
## Check Definition
|
## Check Definition
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user