diff --git a/src/admin/check/commands.rs b/src/admin/check/commands.rs index eb3089237..e482d1a9b 100644 --- a/src/admin/check/commands.rs +++ b/src/admin/check/commands.rs @@ -7,7 +7,7 @@ use crate::Context; #[implement(Context, params = "<'_>")] pub(super) async fn check_all_users(&self) -> Result { let timer = tokio::time::Instant::now(); - let users = self.services.users.iter().collect::>().await; + let users = self.services.users.stream().collect::>().await; let query_time = timer.elapsed(); let total = users.len();