aboutsummaryrefslogtreecommitdiffstats
path: root/src/swarm/topology
diff options
context:
space:
mode:
Diffstat (limited to 'src/swarm/topology')
-rw-r--r--src/swarm/topology/mod.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/swarm/topology/mod.rs b/src/swarm/topology/mod.rs
index 647d3a3..b5da4d8 100644
--- a/src/swarm/topology/mod.rs
+++ b/src/swarm/topology/mod.rs
@@ -396,7 +396,11 @@ pub(crate) fn change_peer<T>(
/// a peer's state (`change_peer`), and every 5 s as a fallback (`swarm::peer`). A burst
/// of notifications coalesces into one recomputation.
pub(crate) async fn run_worker(state: AppState) {
- info!(topology = state.topology.name(), "Choosing neighbours");
+ info!(
+ topology = state.topology.name(),
+ dissemination = state.dissemination.name(),
+ "Choosing neighbours"
+ );
loop {
state.topology_changed.notified().await;
if let Some(change) = refresh(&state).await {