aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-14 12:45:44 -0700
committerAdam Soltys <[email protected]>2026-06-17 07:48:18 -0700
commit0a1450ada9c20499fa86a619ee36176f717d5414 (patch)
treeed4e279ccb6feea8f5d5f4e908900d3ede533de7 /scripts
parent3d2a980971b59cdd2a4ea41b2da51f370eee6b75 (diff)
downloadcoinos-server-0a1450ada9c20499fa86a619ee36176f717d5414.tar.gz
coinos-server-0a1450ada9c20499fa86a619ee36176f717d5414.zip
lightning: watchdog only recycles on real backlog, not normal idle
Port of master 7b71c96b, refining the zombie-listener watchdog staging adopted in 7c34b431. Treating "waitanyinvoice blocked > 5min while cl is alive" as a stall false-fires during normal quiet periods (~26x in 6h on master 2026-06-07) and needlessly recycles the cl listen socket. Instead, when blocked past the threshold, probe cl on the MAIN socket with waitanyinvoice(pay_index, 2s server-side timeout): an invoice returned means a real backlog the wedged listener missed -> recycle; a timeout (CLN 904) means the listener is just idle -> leave it alone. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions