merge and resplit/cleanup appservice service
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
efb28c1a99
commit
9438dc89e6
5 changed files with 157 additions and 181 deletions
|
@ -26,11 +26,7 @@ pub(super) async fn process(subcommand: AppserviceCommand, context: &Command<'_>
|
|||
appservice_id,
|
||||
} => {
|
||||
let timer = tokio::time::Instant::now();
|
||||
let results = services
|
||||
.appservice
|
||||
.db
|
||||
.get_registration(appservice_id.as_ref())
|
||||
.await;
|
||||
let results = services.appservice.get_registration(&appservice_id).await;
|
||||
|
||||
let query_time = timer.elapsed();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue