diff options
author | Erik Johnston <erik@matrix.org> | 2019-06-26 11:56:52 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-06-26 12:03:44 +0100 |
commit | a2f6d31a63012531935566e380dfb5edd81dcbd0 (patch) | |
tree | b009a98e3096d263aad520080c21676bd038842f /synapse/api | |
parent | Remove & changelog (#5548) (diff) | |
download | synapse-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/api')
0 files changed, 0 insertions, 0 deletions