fix: Apply client-requested timeout to federated key queries

Also parallelised federation calls in related functions
This commit is contained in:
timedout
2026-01-03 16:05:05 +00:00
parent 6c61b3ec5b
commit bc426e1bfc
7 changed files with 81 additions and 33 deletions
+2 -2
View File
@@ -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