Commit Graph

3 Commits

Author SHA1 Message Date
Calvin Zachman
39f94a150f
lnd/healthcheck: add tests for callbacks and dynamic checks 2024-03-12 09:36:42 -05:00
yyforyongyu
d19ee28089
healthcheck: stop checking when max attempts are reached
This commit adds a check to the returned error from calling retryCheck
such that when the max number of attempts is reached, the health check
will quit.
2021-09-15 19:52:03 +08:00
carla
c365a16656
healthcheck: monitor access to chain backend
Add a new health check package which will periodically poll health
check functions and shutdown if we do not succeed after our set number
of attempts. The first check that we add is one for our chain backend,
to ensure that we are connected to a bitcoin node.
2020-08-24 09:35:36 +02:00