summary refs log tree commit diff
path: root/synapse/rest/consent
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-26 11:56:52 +0100
committerErik Johnston <erik@matrix.org>2019-06-26 12:03:44 +0100
commita2f6d31a63012531935566e380dfb5edd81dcbd0 (patch)
treeb009a98e3096d263aad520080c21676bd038842f /synapse/rest/consent
parentRemove & changelog (#5548) (diff)
downloadsynapse-a2f6d31a63012531935566e380dfb5edd81dcbd0.tar.xz
Refactor get_user_ids_changed to pull less from DB
When a client asks for users whose devices have changed since a token we
used to pull *all* users from the database since the token, which could
easily be thousands of rows for old tokens.

This PR changes this to only check for changes for users the client is
actually interested in.

Fixes #5553
Diffstat (limited to 'synapse/rest/consent')
0 files changed, 0 insertions, 0 deletions