Skip to main content

tuwunel_admin/query/sending/
get_latest_edu_count.rs

1use ruma::OwnedServerName;
2use tuwunel_core::Result;
3
4use crate::admin_command;
5
6#[admin_command]
7pub(super) async fn sending_get_latest_edu_count(&self, server_name: OwnedServerName) -> Result {
8	let query = self
9		.services
10		.sending
11		.db
12		.get_latest_educount(&server_name);
13
14	self.write_timed_query(query).await
15}