From 74af7b1d0922e740c0358dfd131776fd7c877767 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 15 Mar 2026 22:49:17 +0000 Subject: adjust ln minfee --- lib/health.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/health.ts') diff --git a/lib/health.ts b/lib/health.ts index c2e268c6..d9c38fa5 100644 --- a/lib/health.ts +++ b/lib/health.ts @@ -37,7 +37,7 @@ async function checkLightningHealth(): Promise { const startTime = Date.now(); try { - l("health check: testing lightning connection..."); + // l("health check: testing lightning connection..."); const info = await withTimeout(ln.getinfo(), RPC_TIMEOUT, "getinfo"); if (!info?.id) { @@ -71,7 +71,7 @@ async function checkLightningHealth(): Promise { } const duration = Date.now() - startTime; - l(`health check: passed in ${duration}ms, node: ${info.id.slice(0, 16)}...`); + // l(`health check: passed in ${duration}ms, node: ${info.id.slice(0, 16)}...`); return true; } catch (e: any) { @@ -139,9 +139,9 @@ export async function runHealthCheck() { } export function startHealthCheck() { - l( - `health check: starting (interval=${HEALTH_CHECK_INTERVAL / 1000}s, timeout=${RPC_TIMEOUT / 1000}s, max_failures=${MAX_CONSECUTIVE_FAILURES})`, - ); + // l( + // `health check: starting (interval=${HEALTH_CHECK_INTERVAL / 1000}s, timeout=${RPC_TIMEOUT / 1000}s, max_failures=${MAX_CONSECUTIVE_FAILURES})`, + // ); // Run first check after a delay to let the app initialize checkTimer = setTimeout(runHealthCheck, 30000); } -- cgit v1.2.3