From 9ef81acece7a66b667fa34ac36fd6f91233ad6ff Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Sat, 14 May 2022 22:34:31 -0500 Subject: [PATCH] Reduce LND's backend health check rate --- rootfs/standard/usr/share/mynode/lnd.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rootfs/standard/usr/share/mynode/lnd.conf b/rootfs/standard/usr/share/mynode/lnd.conf index 1ae8f23e..8b16a720 100644 --- a/rootfs/standard/usr/share/mynode/lnd.conf +++ b/rootfs/standard/usr/share/mynode/lnd.conf @@ -46,6 +46,16 @@ bitcoind.rpchost=127.0.0.1:8332 #autopilot.maxchannels=5 #autopilot.allocation=0.6 +[healthcheck] +; Number of attempts before failure +healthcheck.chainbackend.attempts=3 +; Timeout for a single healthcheck attempt +healthcheck.chainbackend.timeout=30s +; The amount of time we should backoff between failed attempts +healthcheck.chainbackend.backoff=30s +; How often should chainbeck checks occur +healthcheck.chainbackend.interval=5m + [bolt] db.bolt.auto-compact=true