mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Enable jemalloc only on linux
This commit is contained in:
parent
e3e32e7f2b
commit
48e94b4372
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@ use meilisearch_core::{Database, DatabaseOptions, Highlight, ProcessedUpdateResu
|
|||
use meilisearch_core::settings::Settings;
|
||||
use meilisearch_schema::FieldId;
|
||||
|
||||
// #[cfg(target_os = "linux")]
|
||||
#[cfg(target_os = "linux")]
|
||||
#[global_allocator]
|
||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue