diff options
author | Erik Johnston <erik@matrix.org> | 2016-09-09 11:03:31 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-09-09 11:03:31 +0100 |
commit | 2ffec928e2512a72d73d5b4a715c4540d68011a6 (patch) | |
tree | 167cd99fa4071a799b3341a1b3f95b61b1015185 | |
parent | Merge branch 'release-v0.17.2' of github.com:matrix-org/synapse (diff) | |
download | synapse-2ffec928e2512a72d73d5b4a715c4540d68011a6.tar.xz |
Reduce batch size to be under SQL limit
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 6ab10db328..866d64e679 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -402,7 +402,7 @@ class RoomMemberStore(SQLBaseStore): keyvalues={ "membership": Membership.JOIN, }, - batch_size=1000, + batch_size=500, desc="_get_joined_users_from_context", ) |