Skip to content

Commit 6893722

Browse files
committed
Use the threaded scheduler in the runtime
1 parent 453012c commit 6893722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use query_macros::*;
2828
#[cfg(feature = "runtime-tokio")]
2929
lazy_static::lazy_static! {
3030
static ref BASIC_RUNTIME: tokio::runtime::Runtime = {
31-
tokio::runtime::Builder::new().basic_scheduler().enable_all().build().expect("failed to build tokio runtime")
31+
tokio::runtime::Builder::new().threaded_scheduler().enable_all().build().expect("failed to build tokio runtime")
3232
};
3333
}
3434

0 commit comments

Comments
 (0)