1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-08-21 18:11:07 +00:00

asyncify KeyValueDatabaseEngine

This commit is contained in:
chayleaf 2024-06-22 21:08:17 +07:00
parent 4b9520b5ad
commit a7e34eb0b3
No known key found for this signature in database
GPG key ID: 78171AD46227E68E
9 changed files with 121 additions and 111 deletions

View file

@ -522,7 +522,7 @@ impl Service {
}
AdminCommand::MemoryUsage => {
let response1 = services().memory_usage().await;
let response2 = services().globals.db.memory_usage();
let response2 = services().globals.db.memory_usage().await;
RoomMessageEventContent::text_plain(format!(
"Services:\n{response1}\n\nDatabase:\n{response2}"