Merge pull request #331 from meilisearch/enable-jemalloc-linux-only

Enable jemalloc only on linux OSs
This commit is contained in:
Clément Renault 2019-11-25 14:59:56 +01:00 committed by GitHub
commit ae88bc31bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ use meilidb_http::routes::index::index_update_callback;
mod analytics;
#[cfg(not(target_os = "macos"))]
#[cfg(target_os = "linux")]
#[global_allocator]
static ALLOC: jemallocator::Jemalloc = jemallocator::Jemalloc;