Skip to content

Commit f63bccb

Browse files
committed
config: update sample-lnd.conf
1 parent 91d9fb4 commit f63bccb

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

sample-lnd.conf

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,24 @@
11301130
; checks. This value must be >= 1m.
11311131
; healthcheck.remotesigner.interval=1m
11321132

1133+
; The number of times we should attempt to check the node's leader status
1134+
; before gracefully shutting down. Set this value to 0 to disable this health
1135+
; check.
1136+
; healthcheck.leader.attempts=1
1137+
1138+
; The amount of time after the leader check times out due to unanswered RPC.
1139+
; This value must be >= 1s.
1140+
; healthcheck.leader.timeout=5s
1141+
1142+
; The amount of time we should backoff between failed attempts of leader checks.
1143+
; This value must be >= 1s.
1144+
; healthcheck.leader.backoff=5s
1145+
1146+
; The amount of time we should wait between leader checks.
1147+
; This value must be >= 1m.
1148+
; healthcheck.leader.interval=1m
1149+
1150+
11331151

11341152
[signrpc]
11351153

@@ -1537,7 +1555,7 @@
15371555

15381556
; The session TTL in seconds after which a new leader is elected if the old
15391557
; leader is shut down, crashed or becomes unreachable.
1540-
; cluster.leader-session-ttl=60
1558+
; cluster.leader-session-ttl=90
15411559

15421560

15431561
[rpcmiddleware]

0 commit comments

Comments
 (0)