mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-27 02:47:33 +00:00
perf: Don't hold state lock when unnecessary
This commit is contained in:
29 files changed
+92
-139
No files matched your search
@@ -383,7 +383,7 @@ pub async fn full_user_deactivate(
|
||||
let _ = services
|
||||
.rooms
|
||||
.timeline
|
||||
.build_and_append_pdu(pdu, user_id, Some(room_id.as_ref()), &state_lock)
|
||||
.build_and_append_pdu(pdu, user_id, Some(room_id.as_ref()), Some(&state_lock))
|
||||
.await;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user