bin/taud: Runs the executor when start

This commit is contained in:
ghassmo
2022-03-11 01:07:35 +04:00
parent 3c05ed70fc
commit ab52c593e0

View File

@@ -263,5 +263,5 @@ async fn main() -> Result<()> {
let config: TauConfig = Config::<TauConfig>::load(config_path)?;
let ex = Arc::new(Executor::new());
smol::block_on(start(config, ex))
smol::block_on(ex.run(start(config, ex.clone())))
}