Add "database_memory_usage" AdminCommand
This commit is contained in:
parent
71431f330a
commit
ff243870f8
2 changed files with 11 additions and 0 deletions
|
@ -1693,6 +1693,9 @@ impl Rooms {
|
|||
));
|
||||
}
|
||||
}
|
||||
"database_memory_usage" => {
|
||||
db.admin.send(AdminCommand::ShowMemoryUsage);
|
||||
}
|
||||
_ => {
|
||||
db.admin.send(AdminCommand::SendMessage(
|
||||
RoomMessageEventContent::text_plain(format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue