mirror of
https://github.com/matrix-org/synapse.git
synced 2026-05-07 13:16:21 +02:00
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
|
||||
# respond to PDU.
|
||||
|
||||
with (yield self.room_lock.lock(event.room_id)):
|
||||
yield self.store.persist_event(
|
||||
event,
|
||||
backfilled,
|
||||
is_new_state=is_new_state
|
||||
)
|
||||
yield self.store.persist_event(
|
||||
event,
|
||||
backfilled,
|
||||
is_new_state=is_new_state
|
||||
)
|
||||
|
||||
room = yield self.store.get_room(event.room_id)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user