diff options
| author | Adam Soltys <[email protected]> | 2026-06-15 20:50:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-15 20:50:41 -0700 |
| commit | 36057966438b26327285e43ee00ce4895fd179c3 (patch) | |
| tree | 2f6e4f89113d00d87236bd0731ddcc46e573e1ad /src/wallet.js | |
| parent | c57f06e47eb5b662a00cddf27cd4270e8418d163 (diff) | |
| download | coinosv3-36057966438b26327285e43ee00ce4895fd179c3.tar.gz coinosv3-36057966438b26327285e43ee00ce4895fd179c3.zip | |
Add per-request timeout + failover for unresponsive hosts
With concurrency 1, a single hung request (no response) stalled the whole
serialized queue indefinitely — so balances/notifications never updated and
the console filled with ERR_TIMED_OUT. Each request now has a 10s abort
timeout; on timeout/network error the host is parked (20s) and we fail over
to the other explorer. Applies to broadcasts too.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/wallet.js')
0 files changed, 0 insertions, 0 deletions
