parallelize calculate_invite_state

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-10-04 03:40:00 +00:00 committed by strawberry
parent 685eadb171
commit 2b2055fe8a
3 changed files with 27 additions and 60 deletions

View file

@ -1452,7 +1452,7 @@ pub(crate) async fn invite_helper(
)
.await?;
let invite_room_state = services.rooms.state.calculate_invite_state(&pdu).await?;
let invite_room_state = services.rooms.state.summary_stripped(&pdu).await;
drop(state_lock);