We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76b924 commit 6dead89Copy full SHA for 6dead89
quickwit/quickwit-cli/src/jemalloc.rs
@@ -18,11 +18,13 @@ use quickwit_common::metrics::MEMORY_METRICS;
18
use tikv_jemallocator::Jemalloc;
19
use tracing::error;
20
21
-#[global_allocator]
22
#[cfg(feature = "jemalloc-profiled")]
+#[global_allocator]
23
pub static GLOBAL: quickwit_common::jemalloc_profiled::JemallocProfiled =
24
quickwit_common::jemalloc_profiled::JemallocProfiled(Jemalloc);
25
+
26
#[cfg(not(feature = "jemalloc-profiled"))]
27
28
pub static GLOBAL: Jemalloc = Jemalloc;
29
30
const JEMALLOC_METRICS_POLLING_INTERVAL: Duration = Duration::from_secs(1);
0 commit comments