mirror of
https://github.com/element-hq/synapse.git
synced 2026-05-24 19:35:20 +00:00
Enable stats
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user