aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-01 13:51:56 -0700
committerAdam Soltys <[email protected]>2026-08-01 13:51:56 -0700
commit8fdea8305b699f3b255fd1674ffd0aeb0933715f (patch)
treed1ae3860b83f3e45fbb206e8312f0d3a3e02e2c0 /src/api.js
parentef7f5aa8d713bf0e754607f9fcc0527c5a10e737 (diff)
downloadcoinosv3-8fdea8305b699f3b255fd1674ffd0aeb0933715f.tar.gz
coinosv3-8fdea8305b699f3b255fd1674ffd0aeb0933715f.zip
Keep relay sockets alive: enable pool ping + auto-reconnect
A silently dropped WebSocket (proxy idle timeout, network change) used to kill every live subscription with nothing re-subscribing — device sync stopped merging and the NWC service stopped answering until the next reload. That is how a connection created on the phone stayed invisible to an open laptop tab. The pool now pings every 29s (dummy-REQ fallback in browsers) and reconnects with backoff, re-firing open subscriptions from the last event seen. Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/api.js')
0 files changed, 0 insertions, 0 deletions