Enable stats

This commit is contained in:
Erik Johnston
2026-05-19 17:07:24 +01:00
parent e17ec20bcd
commit 83e7cf9f83
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -68,6 +68,7 @@ tikv-jemallocator = { version = "0.6.1", features = [
] }
tikv-jemalloc-sys = { version = "0.6.1", features = [
"disable_initial_exec_tls",
"stats",
] }
libc = "0.2.186"
@@ -75,4 +76,3 @@ libc = "0.2.186"
blake2 = "0.10.4"
hex = "0.4.3"
rustc_version = "0.4.1"
+1 -1
View File
@@ -106,7 +106,7 @@ class JemallocStats:
)
if result != 0:
raise Exception("Failed to call mallctl")
raise Exception(f"Failed to call mallctl {result}")
if input_var is None:
return None