forked-synapse/synapse/storage/databases/main
Erik Johnston b5facbac0f
Improve perf of sync device lists (#17216)
Re-introduces #17191, and includes #17197 and #17214

The basic idea is to stop calling `get_rooms_for_user` everywhere, and
instead use the table `device_lists_changes_in_room`.

Commits reviewable one-by-one.
2024-05-21 16:48:20 +01:00
..
__init__.py Add support for moving /push_rules off of main process (#17037) 2024-03-28 15:44:07 +00:00
account_data.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
appservice.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
cache.py Don't invalidate the entire event cache when we purge history (#16905) 2024-02-13 13:24:11 +00:00
censor_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
client_ips.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
deviceinbox.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
devices.py Improve perf of sync device lists (#17216) 2024-05-21 16:48:20 +01:00
directory.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
e2e_room_keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
end_to_end_keys.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
event_federation.py Refactor chain fetching (#17044) 2024-04-02 15:33:56 +01:00
event_push_actions.py Use receipts event_stream_ordering instead of joins (#17032) 2024-04-12 09:28:44 +01:00
events_bg_updates.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events_forward_extremities.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
events_worker.py Do not refuse to set read_marker if previous event_id is in wrong room (#16990) 2024-03-21 18:43:07 +00:00
events.py Add type annotation to visited_chains (#17125) 2024-04-25 12:25:26 +00:00
experimental_features.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
filtering.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
keys.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
lock.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
media_repository.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
metrics.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
monthly_active_users.py Update license headers 2023-11-21 15:29:58 -05:00
openid.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
presence.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
profile.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
purge_events.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
push_rule.py Fixups to new push stream (#17038) 2024-03-28 16:29:23 +00:00
pusher.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
receipts.py Fix remote receipts for events we don't have (#17096) 2024-04-17 16:08:40 +01:00
registration.py Add support for MSC3823 - Account Suspension (#17051) 2024-05-01 17:45:17 +01:00
rejections.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
relations.py Update license headers 2023-11-21 15:29:58 -05:00
room.py Actually fix public rooms (#17184) 2024-05-13 13:11:07 +01:00
roommember.py Redact membership events if the user requested erasure upon deactivating (#17076) 2024-04-25 14:25:31 +01:00
search.py Return the search terms as search highlights for SQLite instead of nothing (#17000) 2024-04-26 09:43:52 +01:00
session.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
signatures.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state_deltas.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
state.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
stats.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
stream.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
tags.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
task_scheduler.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
transactions.py Fix filtering of rooms when supplying the destination query parameter to /_synapse/admin/v1/federation/destinations/<destination>/rooms (#17077) 2024-04-26 10:52:24 +01:00
ui_auth.py Correctly mention previous copyright (#16820) 2024-01-23 11:26:48 +00:00
user_directory.py Bump black from 23.10.1 to 24.2.0 (#16936) 2024-03-13 16:46:44 +00:00
user_erasure_store.py Update license headers 2023-11-21 15:29:58 -05:00