refactor: Replace remaining std RwLocks

This commit is contained in:
Jade Ellis
2025-07-19 22:20:26 +01:00
parent 374fb2745c
commit 6d29098d1a
11 changed files with 32 additions and 90 deletions
+1 -2
View File
@@ -26,8 +26,7 @@ pub(super) async fn incoming_federation(&self) -> Result {
.rooms
.event_handler
.federation_handletime
.read()
.expect("locked");
.read();
let mut msg = format!("Handling {} incoming pdus:\n", map.len());
for (r, (e, i)) in map.iter() {