refactor(measurement): migrate ICMP engine to Tokio async runtime

This commit is contained in:
Nils Andreas Svee committed 2026-10-08 14:15:14 +07:00
1 parent afedfbeb65
commit 89c7d75947
4 files changed
+257 -194

No files matched your search

+3 -1
View File
@@ -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,