synapse-old/synapse/storage
Erik Johnston 2b5643b3af
Optimise calculating device_list changes in `/sync`. (#11974)
For users with large accounts it is inefficient to calculate the set of
users they share a room with (and takes a lot of space in the cache).
Instead we can look at users whose devices have changed since the last
sync and check if they share a room with the syncing user.
2022-02-15 15:01:00 +00:00
..
databases Optimise calculating device_list changes in `/sync`. (#11974) 2022-02-15 15:01:00 +00:00
engines Db txn set isolation level (#11799) 2022-01-25 15:14:46 +01:00
schema Add a background database update to purge account data for deactivated users. (#11655) 2022-02-02 11:37:18 +00:00
util Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Invalidate the get_users_in_room{_with_profile} caches only when necessary. (#11878) 2022-02-02 12:24:07 -05:00
background_updates.py Make background updates controllable via a plugin (#11306) 2021-11-29 17:57:06 +01:00
database.py Pass `isolation_level` to `runWithConnection` (#11847) 2022-01-27 17:45:39 +00:00
keys.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
persist_events.py Refactor `backfilled` into specific behavior function arguments (`_persist_events_and_state_updates`) (#11417) 2021-11-29 16:01:54 -06:00
prepare_database.py Minor updates, and docs, for schema delta files (#11823) 2022-01-25 14:11:13 +00:00
purge_events.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
push_rule.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
relations.py Support pagination tokens from /sync and /messages in the relations API. (#11952) 2022-02-10 10:52:48 -05:00
roommember.py Do not include rooms with an unknown room version in a sync response. (#10644) 2021-08-19 11:12:55 -04:00
state.py Create singletons for `StateFilter.{all,none}()` (#11836) 2022-01-27 10:54:27 +00:00
types.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00