mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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:
commit
5006c4b30d
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user