diff options
Diffstat (limited to 'src/swarm/topology.rs')
| -rw-r--r-- | src/swarm/topology.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/swarm/topology.rs b/src/swarm/topology.rs index 1e4f5b9..1d98637 100644 --- a/src/swarm/topology.rs +++ b/src/swarm/topology.rs @@ -163,6 +163,7 @@ pub(crate) async fn refresh(state: &AppState) -> Option<NeighbourChange> { let replica = state.doc.read().await; members::learn_addresses(state, &replica.doc); set_aliases(state, members::aliases(&replica.doc)); + state.transport.learn_relays(&members::relays(&replica.doc)); let current = members::members(&replica.doc); // Those that said they are alive within the electorate window. let alive: BTreeSet<String> = members::electorate( |
