diff options
Diffstat (limited to 'src/node.rs')
| -rw-r--r-- | src/node.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node.rs b/src/node.rs index b3e7463..82b99fc 100644 --- a/src/node.rs +++ b/src/node.rs @@ -103,6 +103,7 @@ impl Node { files: config.files, config: Arc::new(config.config_report), neighbours: Default::default(), + topology_changed: Default::default(), pulling: Default::default(), announce_pending: Default::default(), rtt: Default::default(), @@ -155,6 +156,9 @@ impl Node { tokio::spawn(remake::run_worker(state.clone())); trace!("Remake worker task spawned"); + tokio::spawn(swarm::topology::run_worker(state.clone())); + trace!("Topology worker task spawned"); + state } } |
