Skip to content

Commit fc3edc3

Browse files
committed
use system allocator
1 parent 5523234 commit fc3edc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libsql-server/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ type MakeReplicationSvc = Box<
147147
// static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;
148148

149149
#[global_allocator]
150-
static GLOBAL: rheaper::Allocator<mimalloc::MiMalloc> =
151-
rheaper::Allocator::from_allocator(mimalloc::MiMalloc);
150+
static GLOBAL: rheaper::Allocator<std::alloc::System> =
151+
rheaper::Allocator::from_allocator(std::alloc::System);
152152

153153
#[derive(clap::ValueEnum, PartialEq, Clone, Copy, Debug)]
154154
pub enum CustomWAL {

0 commit comments

Comments
 (0)