perf(nodes): Connected Nodes refresh — parallel probes, instant list, 12s health timeout

Reachability probes ran one at a time with a 30s Tor timeout each, so
Refresh sat disabled for N-offline-peers × 30s. Now the list renders and
the button re-enables immediately; probes run concurrently and fill the
dots in as they land.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
archipelago
2026-07-22 19:44:31 -04:00
co-authored by Claude Fable 5
parent 8f4c32b93f
commit 770e3386f4
3 changed files with 27 additions and 15 deletions
+2 -1
View File
@@ -447,7 +447,8 @@ class RPCClient {
return this.call({
method: 'node-check-peer',
params: { onion },
timeout: 35000,
// Backend health-dial timeout is 12s — 15s here covers RPC overhead.
timeout: 15000,
})
}