mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-20 03:30:22 +00:00
* reconnect gate was "any relay peer in the peer store", not "loaded from storage" * fired even with peer persistence off (the default; FFI can't even enable it) * switch.start() boots discovery protocols before the dispatch, so bootstrap peers got swept in * backoff slept inside the per-peer loop: 62s serially per peer, connected peers included * mountRelay on a started node awaited the same sweep inline, blocking late relay mounts * PeerOrigin has no Storage value, so a "from storage only" filter isn't expressible today * the 30s relayConnectivityLoop already re-dials disconnected peers, making this path redundant * delete reconnectRelayPeers, relayReconnectFut and peerManager.reconnectPeers (no callers left) * add tests/node/test_wakunode_startup_reconnect.nim: 9 tests, 4 fail without this fix * drop the "Automatic Reconnection" sub-suite; it tested the removed proc * repair the sharded restart test: it passed via the removed sweep, not manageRelayPeers (node2 ENR now advertises Relay, node3 subscribes to its shard) * peer persistence itself is untouched; its removal is proposed as a follow-up PR Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
13 lines
295 B
Nim
13 lines
295 B
Nim
{.used.}
|
|
|
|
import
|
|
./test_wakunode_filter,
|
|
./test_wakunode_legacy_lightpush,
|
|
./test_wakunode_lightpush,
|
|
./test_wakunode_peer_exchange,
|
|
./test_wakunode_store,
|
|
./test_wakunode_peer_manager,
|
|
./test_wakunode_health_monitor,
|
|
./test_wakunode_restart,
|
|
./test_wakunode_startup_reconnect
|