feat: Show active transaction handle count in !admin federation incoming-federation

This commit is contained in:
nexy7574
2026-02-23 16:36:45 +00:00
committed by timedout
parent 9016cd11a6
commit 4657844d46
3 changed files with 14 additions and 2 deletions
+7
View File
@@ -52,6 +52,13 @@ impl crate::Service for Service {
}
impl Service {
#[must_use]
pub fn txn_active_handle_count(&self) -> usize {
let state = self.servername_txnid_active.read();
state.len()
}
pub fn add_client_txnid(
&self,
user_id: &UserId,