mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 02:40:22 +00:00
Don't bother locking
This commit is contained in:
parent
7f4c7fe4e8
commit
da4a09f977
1 changed files with 5 additions and 6 deletions
|
@ -132,12 +132,11 @@ class FederationHandler(BaseHandler):
|
||||||
# TODO: Implement something in federation that allows us to
|
# TODO: Implement something in federation that allows us to
|
||||||
# respond to PDU.
|
# respond to PDU.
|
||||||
|
|
||||||
with (yield self.room_lock.lock(event.room_id)):
|
yield self.store.persist_event(
|
||||||
yield self.store.persist_event(
|
event,
|
||||||
event,
|
backfilled,
|
||||||
backfilled,
|
is_new_state=is_new_state
|
||||||
is_new_state=is_new_state
|
)
|
||||||
)
|
|
||||||
|
|
||||||
room = yield self.store.get_room(event.room_id)
|
room = yield self.store.get_room(event.room_id)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue