aboutsummaryrefslogtreecommitdiffstats
path: root/src/node.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/node.rs')
-rw-r--r--src/node.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node.rs b/src/node.rs
index be722e6..0b8f663 100644
--- a/src/node.rs
+++ b/src/node.rs
@@ -171,6 +171,9 @@ impl Node {
});
trace!("Sync worker task spawned");
+ // Subscribers to our links (`swarm::links`; any build has them).
+ tokio::spawn(crate::swarm::links::watch(state.clone()));
+
let peer_worker_state = state.clone();
tokio::spawn(async move {
peer::run_peer_worker(peer_worker_state).await;