diff --git a/Cargo.lock b/Cargo.lock index 1ef80aa..958827d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2168,9 +2168,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.16" +version = "0.23.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee87ff5d9b36712a58574e12e9f0ea80f915a5b0ac518d322b24a465617925e" +checksum = "7f1a745511c54ba6d4465e8d5dfbd81b45791756de28d4981af70d6dca128f1e" dependencies = [ "once_cell", "ring", @@ -2243,9 +2243,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.132" +version = "1.0.133" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d726bfaff4b320266d395898905d0eba0345aae23b54aee3a737e260fd46db03" +checksum = "c7fceb2473b9166b2294ef05efcb65a3db80803f0b03ef86a5fc88a2b85ee377" dependencies = [ "itoa", "memchr", diff --git a/src/subsonic.rs b/src/subsonic.rs index 6aa37ee..70108d4 100644 --- a/src/subsonic.rs +++ b/src/subsonic.rs @@ -11,7 +11,11 @@ use tracing::{event, Level}; fn runtime() -> &'static tokio::runtime::Runtime { static RUNTIME: std::sync::OnceLock = std::sync::OnceLock::new(); RUNTIME.get_or_init(|| { - tokio::runtime::Runtime::new().expect("could not initialize the tokio runtime") + tokio::runtime::Builder::new_multi_thread() + .enable_all() + .thread_name("audrey-tokio-runtime") + .build() + .expect("tokio no spawn :(") }) }