mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-15 00:27:41 +00:00
Use the threaded scheduler in the runtime
This commit is contained in:
parent
453012c9bf
commit
68937221f3
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ use query_macros::*;
|
|||
#[cfg(feature = "runtime-tokio")]
|
||||
lazy_static::lazy_static! {
|
||||
static ref BASIC_RUNTIME: tokio::runtime::Runtime = {
|
||||
tokio::runtime::Builder::new().basic_scheduler().enable_all().build().expect("failed to build tokio runtime")
|
||||
tokio::runtime::Builder::new().threaded_scheduler().enable_all().build().expect("failed to build tokio runtime")
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue