0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-07 07:08:57 +01:00

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, 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(