improvement: better memory usage and admin commands to analyze it

This commit is contained in:
Timo Kösters
2023-07-03 19:37:54 +02:00
parent bac13d08ae
commit a2c3256ced
10 changed files with 517 additions and 331 deletions

View File

@@ -214,10 +214,6 @@ impl Service {
self.db.cleanup()
}
pub fn memory_usage(&self) -> Result<String> {
self.db.memory_usage()
}
pub fn server_name(&self) -> &ServerName {
self.config.server_name.as_ref()
}