mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
Enable jemalloc only on linux OSs
This commit is contained in:
parent
c93949474c
commit
8aed1d96c5
@ -15,7 +15,7 @@ use meilidb_http::routes::index::index_update_callback;
|
|||||||
|
|
||||||
mod analytics;
|
mod analytics;
|
||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(target_os = "linux")]
|
||||||
#[global_allocator]
|
#[global_allocator]
|
||||||
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user