fix: Apply client-requested timeout to federated key queries
Also parallelised federation calls in related functions
This commit is contained in:
parent
6c61b3ec5b
commit
bc426e1bfc
7 changed files with 81 additions and 33 deletions
|
|
@ -465,7 +465,7 @@ pub(super) async fn force_join_list_of_local_users(
|
|||
|
||||
if server_admins.is_empty() {
|
||||
return Err!("There are no admins set for this server.");
|
||||
};
|
||||
}
|
||||
|
||||
let (room_id, servers) = self
|
||||
.services
|
||||
|
|
@ -580,7 +580,7 @@ pub(super) async fn force_join_all_local_users(
|
|||
|
||||
if server_admins.is_empty() {
|
||||
return Err!("There are no admins set for this server.");
|
||||
};
|
||||
}
|
||||
|
||||
let (room_id, servers) = self
|
||||
.services
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue