Only process one local membership event per room at a time

This commit is contained in:
Erik Johnston 2016-08-12 09:32:19 +01:00
parent 832799dbff
commit 448ac6cf0d

View File

@ -141,7 +141,7 @@ class RoomMemberHandler(BaseHandler):
third_party_signed=None, third_party_signed=None,
ratelimit=True, ratelimit=True,
): ):
key = (target, room_id,) key = (room_id,)
with (yield self.member_linearizer.queue(key)): with (yield self.member_linearizer.queue(key)):
result = yield self._update_membership( result = yield self._update_membership(