Don't bother locking
This commit is contained in:
parent
7f4c7fe4e8
commit
da4a09f977
|
@ -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 New Issue