Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit c33b15c

Browse files
committed
make blocking rt multithreaded
1 parent 4a24b2a commit c33b15c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqld/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const DB_CREATE_TIMEOUT: Duration = Duration::from_secs(1);
6969
const DEFAULT_AUTO_CHECKPOINT: u32 = 1000;
7070

7171
pub(crate) static BLOCKING_RT: Lazy<Runtime> = Lazy::new(|| {
72-
tokio::runtime::Builder::new_current_thread()
72+
tokio::runtime::Builder::new_multi_thread()
7373
.max_blocking_threads(50_000)
7474
.build()
7575
.unwrap()

0 commit comments

Comments
 (0)