diff options
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index d10822b..90fa196 100644 --- a/src/main.rs +++ b/src/main.rs @@ -133,7 +133,8 @@ async fn main() { let cookie_key = axum_extra::extract::cookie::Key::generate(); let cancellation_token = tokio_util::sync::CancellationToken::new(); - let jobset = Arc::new(tokio::sync::Mutex::new(tokio::task::JoinSet::<()>::new())); + let jobset: Arc<Mutex<JoinSet<()>>> = Default::default(); + let http: reqwest::Client = { #[allow(unused_mut)] let mut builder = reqwest::Client::builder() |