refactor(measurement): migrate ICMP engine to Tokio async runtime
This commit is contained in:
4 files changed
+257
-194
No files matched your search
+3
-1
@@ -264,7 +264,9 @@ fn run(settings: &Settings) -> anyhow::Result<()> {
|
||||
offset: Duration::from_secs(0),
|
||||
},
|
||||
)])?;
|
||||
engine.run()?;
|
||||
|
||||
let rt = tokio::runtime::Runtime::new().unwrap();
|
||||
rt.spawn(engine.run());
|
||||
|
||||
let ReflectorSetup {
|
||||
peers: reflector_peers,
|
||||
|
||||
Reference in new issue
Block a user