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

Commit 067c248

Browse files
use BLOCKING_RT for libsql connections (#702)
Co-authored-by: ad hoc <[email protected]>
1 parent d18a397 commit 067c248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqld/src/connection/libsql.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ impl LibSqlConnection {
185185
let (sender, receiver) = crossbeam::channel::unbounded::<ExecCallback>();
186186
let (init_sender, init_receiver) = oneshot::channel();
187187

188-
std::thread::spawn(move || {
188+
crate::BLOCKING_RT.spawn_blocking(move || {
189189
let mut ctx = hook_ctx;
190190
let mut connection = match Connection::new(
191191
path.as_ref(),

0 commit comments

Comments
 (0)