WIP: ws: split into features, other fixes

This commit is contained in:
Joakim Frostegård 2021-11-05 13:18:22 +01:00
parent 465cf5920d
commit 2bed6ccdc5
10 changed files with 76 additions and 25 deletions

View file

@ -21,7 +21,7 @@ use common::*;
pub const APP_NAME: &str = "aquatic_ws: WebTorrent tracker";
pub fn run(config: Config, state: State) -> anyhow::Result<()> {
start_workers(config.clone(), state.clone())?;
start_workers(config.clone(), state.clone()).expect("couldn't start workers");
// TODO: privdrop here instead