eliminate the state-res mutex hazard

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2025-01-09 18:14:23 +00:00
1 parent 82168b972a
commit a3f9432da8
2 files changed
-6

No files matched your search

@@ -116,9 +116,6 @@ pub async fn state_resolution(
state_sets: &[StateMap<OwnedEventId>],
auth_chain_sets: &[HashSet<OwnedEventId>],
) -> Result<StateMap<OwnedEventId>> {
//TODO: ???
let _lock = self.services.globals.stateres_mutex.lock();
state_res::resolve(
room_version,
state_sets.iter(),