Merge pull request #1005 from matrix-org/erikj/linearize_joins

Only process one local membership event per room at a time
This commit is contained in:
Erik Johnston 2016-08-12 10:14:12 +01:00 committed by GitHub
commit 5006c4b30d

View File

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