improvement: memory usage for caches

This commit is contained in:
Timo Kösters 2022-01-10 15:53:28 +01:00
parent 68ee1a5408
commit 077e9ad438
No known key found for this signature in database
GPG key ID: 356E705610F626D5
4 changed files with 26 additions and 22 deletions

View file

@ -118,7 +118,7 @@ impl Admin {
if let Ok(response) = guard._db.memory_usage() {
send_message(RoomMessageEventContent::text_plain(response), guard, &state_lock);
} else {
send_message(RoomMessageEventContent::text_plain("Failed to get database memory usage".to_string()), guard, &state_lock);
send_message(RoomMessageEventContent::text_plain("Failed to get database memory usage.".to_string()), guard, &state_lock);
}
}
AdminCommand::SendMessage(message) => {