lock the getter instead ??? c/o M

This commit is contained in:
Jacob Taylor 2025-06-18 16:57:19 -07:00
commit 8111b89d47
3 changed files with 3 additions and 2 deletions

View file

@ -656,7 +656,7 @@ impl Service {
let prev_events: Vec<OwnedEventId> = self
.services
.state
.get_forward_extremities(room_id)
.get_forward_extremities(room_id, _mutex_lock)
.take(20)
.map(Into::into)
.collect()