fix: Move federation mutex lock to room worker

This commit is contained in:
timedout committed 2026-12-01 16:46:49 +00:00
1 parent 4b3d206a09
commit 4552bb4c7a
2 files changed
+8 -8

No files matched your search

-8
View File
@@ -335,14 +335,6 @@ async fn handle_room(
room_id: OwnedRoomId,
pdus: impl Iterator<Item = Pdu> + Send,
) -> std::result::Result<Vec<(OwnedEventId, Result)>, TransactionError> {
let arrived = millis_since_unix_epoch();
let _room_lock = services
.rooms
.event_handler
.mutex_federation
.lock(room_id.as_str())
.await;
let room_id = &room_id;
let mut pdu_map: HashMap<OwnedEventId, CanonicalJsonObject> = pdus
.into_iter()