aboutsummaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-27 11:42:19 -0700
committerAdam Soltys <[email protected]>2026-08-27 11:42:19 -0700
commit2b6d742672400d51269520447783f707e8f6f91a (patch)
tree7bbc9db4e79a50a637451ccbe099d2c412973eb2 /package.json
parent900590a8479e802bce0c78605758ea582aa96a66 (diff)
downloadcoinos-server-2b6d742672400d51269520447783f707e8f6f91a.tar.gz
coinos-server-2b6d742672400d51269520447783f707e8f6f91a.zip
health: tolerate a transient receive-listener lag, fail only if it's stuck
The listener-backlog probe fired a failure whenever a paid invoice existed beyond the durable cursor — but that is almost always the listener mid- processing that very payment, a normal sub-second lag, not a wedged listener. Those transient catches produced spurious "listener backlog" health failures that then recovered on their own. Grace-check instead: on detecting a paid invoice beyond the cursor, wait briefly and re-read the cursor; if it advanced, the listener is alive and this was transient (pass). Only fail if the cursor did not move at all — the actual "stuck listener" condition the probe exists to catch. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01DKkev76U4YRnRAqM6jqbae
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions