synapse-old/synapse/storage/databases/main
Erik Johnston 3dfc4a08dc
Fix performance regression in `get_users_in_room` (#13972)
Fixes #13942. Introduced in #13575.

Basically, let's only get the ordered set of hosts out of the DB if we need an ordered set of hosts. Since we split the function up the caching won't be as good, but I think it will still be fine as e.g. multiple backfill requests for the same room will hit the cache.
2022-09-30 13:15:32 +01:00
..
__init__.py Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
account_data.py Speed up fetching large numbers of push rules (#13592) 2022-08-23 13:15:43 +01:00
appservice.py Federation Sender & Appservice Pusher Stream Optimisations (#13251) 2022-07-15 09:36:56 +01:00
cache.py Optimise get_rooms_for_user (drop with_stream_ordering) (#13787) 2022-09-29 13:55:12 +00:00
censor_events.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
client_ips.py
deviceinbox.py Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
devices.py Handle local device list updates during partial join (#13934) 2022-09-28 23:22:35 +01:00
directory.py
e2e_room_keys.py
end_to_end_keys.py Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
event_federation.py Fix overflows in /messages backfill calculation (#13936) 2022-09-30 11:54:53 +01:00
event_push_actions.py Explicit cast to enforce type hints. (#13939) 2022-09-29 07:22:41 -04:00
events.py fix: Push notifications for invite over federation (#13719) 2022-09-28 12:31:53 +00:00
events_bg_updates.py Bg update to populate new `events` table columns (#13215) 2022-07-15 12:47:26 +01:00
events_forward_extremities.py
events_worker.py Fix `have_seen_event` cache not being invalidated (#13863) 2022-09-27 15:55:43 -05:00
filtering.py
keys.py
lock.py Require SQLite >= 3.27.0 (#13760) 2022-09-09 11:14:10 +01:00
media_repository.py
metrics.py
monthly_active_users.py Safe async event cache (#13308) 2022-07-19 11:25:29 +00:00
openid.py
presence.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
profile.py
purge_events.py Add support to purge rows from MSC2716 and other tables when purging a room (#13825) 2022-09-16 10:56:56 -05:00
push_rule.py Port the push rule classes to Rust. (#13768) 2022-09-20 12:10:31 +01:00
pusher.py Track device IDs for pushers (#13831) 2022-09-21 15:31:53 +00:00
receipts.py Clarify that a method returns only unthreaded receipts. (#13937) 2022-09-29 07:07:31 -04:00
registration.py Allow admins to require a manual approval process before new accounts can be used (using MSC3866) (#13556) 2022-09-29 15:23:24 +02:00
rejections.py
relations.py Properly paginate forward in the /relations API. (#13840) 2022-09-22 12:47:49 +00:00
room.py Handle local device list updates during partial join (#13934) 2022-09-28 23:22:35 +01:00
room_batch.py
roommember.py Fix performance regression in `get_users_in_room` (#13972) 2022-09-30 13:15:32 +01:00
search.py
session.py
signatures.py
state.py Instrument `get_metadata_for_events` for tracing (#13730) 2022-09-07 11:41:52 -05:00
state_deltas.py
stats.py Require SQLite >= 3.27.0 (#13760) 2022-09-09 11:14:10 +01:00
stream.py Properly paginate forward in the /relations API. (#13840) 2022-09-22 12:47:49 +00:00
tags.py Revert "Make all `process_replication_rows` methods async (#13304)" (#13312) 2022-07-18 14:28:14 +01:00
transactions.py Require SQLite >= 3.27.0 (#13760) 2022-09-09 11:14:10 +01:00
ui_auth.py
user_directory.py
user_erasure_store.py