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

xCheckpoint: move blocking ops to use bottomless context #702

Merged
merged 1 commit into from
Sep 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sqld/src/connection/libsql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl LibSqlConnection {
let (sender, receiver) = crossbeam::channel::unbounded::<ExecCallback>();
let (init_sender, init_receiver) = oneshot::channel();

std::thread::spawn(move || {
crate::BLOCKING_RT.spawn_blocking(move || {
let mut ctx = hook_ctx;
let mut connection = match Connection::new(
path.as_ref(),
Expand Down