From f63bccb575bbaad71d377b5a0cd3e82d5722ef29 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Fri, 26 Jul 2024 17:04:04 +0200 Subject: [PATCH] config: update sample-lnd.conf --- sample-lnd.conf | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/sample-lnd.conf b/sample-lnd.conf index 70251ea10..c9fb0e4f8 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -1130,6 +1130,24 @@ ; checks. This value must be >= 1m. ; healthcheck.remotesigner.interval=1m +; The number of times we should attempt to check the node's leader status +; before gracefully shutting down. Set this value to 0 to disable this health +; check. +; healthcheck.leader.attempts=1 + +; The amount of time after the leader check times out due to unanswered RPC. +; This value must be >= 1s. +; healthcheck.leader.timeout=5s + +; The amount of time we should backoff between failed attempts of leader checks. +; This value must be >= 1s. +; healthcheck.leader.backoff=5s + +; The amount of time we should wait between leader checks. +; This value must be >= 1m. +; healthcheck.leader.interval=1m + + [signrpc] @@ -1537,7 +1555,7 @@ ; The session TTL in seconds after which a new leader is elected if the old ; leader is shut down, crashed or becomes unreachable. -; cluster.leader-session-ttl=60 +; cluster.leader-session-ttl=90 [rpcmiddleware]