1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-29 19:28:31 +00:00

start mallctl suite w/ jemalloc stats

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-04-27 04:50:20 -07:00 committed by June
parent 56f652c12d
commit e4b669360f
9 changed files with 101 additions and 14 deletions

View file

@ -453,3 +453,7 @@ pub(crate) async fn resolve_true_destination(
"Actual destination: {actual_dest:?} | Hostname URI: {hostname_uri}"
)))
}
pub(crate) fn memory_stats() -> RoomMessageEventContent {
RoomMessageEventContent::text_html("HTML only".to_owned(), crate::alloc::memory_stats())
}