synapse-product/synapse/handlers
Erik Johnston a2f6d31a63 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
2019-06-26 12:03:44 +01:00
..
__init__.py Fix registration on workers (#4682) 2019-02-20 18:47:31 +11:00
_base.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
account_data.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
account_validity.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
acme_issuing_service.py Allow configuration of the path used for ACME account keys. 2019-06-24 13:51:22 +01:00
acme.py Allow configuration of the path used for ACME account keys. 2019-06-24 13:51:22 +01:00
admin.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
appservice.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
auth.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
deactivate_account.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
device.py Refactor get_user_ids_changed to pull less from DB 2019-06-26 12:03:44 +01:00
devicemessage.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
directory.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
e2e_keys.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
e2e_room_keys.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
events.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
federation.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
groups_local.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
identity.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
initial_sync.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
message.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
pagination.py Fix /messages on workers when no from param specified. 2019-06-24 10:06:51 +01:00
presence.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
profile.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
read_marker.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
receipts.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
register.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
room_list.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
room_member_worker.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
room_member.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
room.py Prevent multiple upgrades on the same room at once (#5051) 2019-06-25 14:19:21 +01:00
search.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
set_password.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
state_deltas.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
stats.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
sync.py Refactor get_user_ids_changed to pull less from DB 2019-06-26 12:03:44 +01:00
typing.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
user_directory.py Fix grammar and document get_current_users_in_room (#4998) 2019-04-03 14:32:20 +01:00