synapse-old/synapse/storage/databases
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
..
main Fix performance regression in `get_users_in_room` (#13972) 2022-09-30 13:15:32 +01:00
state Cancel the processing of key query requests when they time out. (#13680) 2022-09-07 12:03:32 +01:00
__init__.py Ensure that `get_datastores().main` is typed (#12070) 2022-02-25 10:20:40 +00:00