From 89dceb1f573ad28c7a9625d5ade948e423734fdc Mon Sep 17 00:00:00 2001 From: Gaius Date: Mon, 29 Apr 2024 10:43:36 +0800 Subject: [PATCH] feat: add stats and background_threads features for jemalloc Signed-off-by: Gaius --- dragonfly-client/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dragonfly-client/Cargo.toml b/dragonfly-client/Cargo.toml index 5d717006..431c0fcd 100644 --- a/dragonfly-client/Cargo.toml +++ b/dragonfly-client/Cargo.toml @@ -80,7 +80,7 @@ futures-util = "0.3.30" termion = "3.0.0" [target.'cfg(not(target_env = "msvc"))'.dependencies] -tikv-jemallocator = { version = "0.5.4", features = ["profiling", "unprefixed_malloc_on_supported_platforms"] } +tikv-jemallocator = { version = "0.5.4", features = ["profiling", "stats", "unprefixed_malloc_on_supported_platforms", "background_threads"] } [target.'cfg(target_os = "linux")'.dependencies] jemalloc_pprof = "0.1.0"