aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-22 08:08:13 -0700
committerAdam Soltys <[email protected]>2026-08-22 08:08:13 -0700
commit658724acea184ba4f15ddc70fe9f1cf8946ff51d (patch)
tree40fff8fdd89bf68f701d2d8f369207bcfacc3829 /scripts
parent0bb7ab45344068ed8ea3cc77ad9f7c2a038bb45f (diff)
downloadcoinos-server-658724acea184ba4f15ddc70fe9f1cf8946ff51d.tar.gz
coinos-server-658724acea184ba4f15ddc70fe9f1cf8946ff51d.zip
ln: bound receive-listener wait, phase-aware watchdog, re-enable health check
Give waitanyinvoice an explicit 30s server-side timeout so a dead/half-open socket can no longer hold the listener indefinitely; CLN's 904 timeout during a quiet period is treated as a clean re-arm without counting as a failure. Split the listener into waiting vs processing phases so the watchdog never resets a healthy socket merely because a ledger write is slow, and never starts a second concurrent processor — a stalled processing phase is surfaced loudly instead. Process the settlement and confirm the durable payment pointer BEFORE advancing pay_index, so a store load/restart between the cursor write and credit() cannot drop a received payment. Expose listener status and add a backlog probe to the health check, and re-enable startHealthCheck(). Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01XiwgmQKwKnRxUmVDd4xSf7
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions