MatrixSynapse/synapse/storage/databases/main
Patrick Cloke 690cb4f3b3
Allow for ignoring some arguments when caching. (#12189)
* `@cached` can now take an `uncached_args` which is an iterable of names to not use in the cache key.
* Requires `@cached`, @cachedList` and `@lru_cache` to use keyword arguments for clarity.
* Asserts that keyword-only arguments in cached functions are not accepted. (I tested this briefly and I don't believe this works properly.)
2022-03-09 18:07:41 +00:00
..
__init__.py Remove redundant `get_current_events_token` (#11643) 2022-01-04 16:10:27 +00:00
account_data.py Add a background database update to purge account data for deactivated users. (#11655) 2022-02-02 11:37:18 +00:00
appservice.py Add support for MSC3202: sending one-time key counts and fallback key usage states to Application Services. (#11617) 2022-02-24 17:55:45 +00:00
cache.py Invalidate caches when an event with a relation is redacted. (#12121) 2022-03-07 14:00:05 +00:00
censor_events.py
client_ips.py
deviceinbox.py Reduce to-device queries for /sync. (#12163) 2022-03-04 17:57:27 +00:00
devices.py Optimise calculating device_list changes in `/sync`. (#11974) 2022-02-15 15:01:00 +00:00
directory.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
e2e_room_keys.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
end_to_end_keys.py Add support for MSC3202: sending one-time key counts and fallback key usage states to Application Services. (#11617) 2022-02-24 17:55:45 +00:00
event_federation.py Implement MSC3706: partial state in `/send_join` response (#11967) 2022-02-12 10:44:16 +00:00
event_push_actions.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
events.py Invalidate caches when an event with a relation is redacted. (#12121) 2022-03-07 14:00:05 +00:00
events_bg_updates.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
events_forward_extremities.py
events_worker.py Allow for ignoring some arguments when caching. (#12189) 2022-03-09 18:07:41 +00:00
filtering.py Improve type hints in storage classes. (#11652) 2021-12-29 13:04:28 +00:00
group_server.py
keys.py
lock.py
media_repository.py Improve type hints in storage classes. (#11652) 2021-12-29 13:04:28 +00:00
metrics.py
monthly_active_users.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
openid.py
presence.py Add type hints to `synapse/storage/databases/main` (#11984) 2022-02-21 16:03:06 +00:00
profile.py
purge_events.py Add type hints to `synapse/storage/databases/main` (#11984) 2022-02-21 16:03:06 +00:00
push_rule.py Revert experimental push rules from #7997. (#11884) 2022-02-02 09:49:31 -05:00
pusher.py Replace uses of simple_insert_many with simple_insert_many_values. (#11742) 2022-01-13 19:44:18 -05:00
receipts.py
registration.py Fix slow performance of `/logout` in some cases where refresh tokens are in use. The slowness existed since the initial implementation of refresh tokens. (#12056) 2022-02-22 13:29:04 +00:00
rejections.py
relations.py Fix a typo in a comment. 2022-02-16 06:53:21 -05:00
room.py Faster joins: persist to database (#12012) 2022-03-01 12:49:54 +00:00
room_batch.py
roommember.py Remove some unused variables/parameters. (#12187) 2022-03-09 15:29:39 +00:00
search.py Fix non-strings in the `event_search` table (#12037) 2022-02-24 11:52:28 +00:00
session.py Run `pyupgrade --py37-plus --keep-percent-format` on Synapse (#11685) 2022-01-05 09:53:05 -08:00
signatures.py Stop reading from `event_reference_hashes` (#11794) 2022-01-21 09:18:10 +00:00
state.py Make get_room_version use cached get_room_version_id. (#11808) 2022-03-02 10:35:34 +00:00
state_deltas.py
stats.py Add type hints to `synapse/storage/databases/main/stats.py` (#11653) 2021-12-29 08:01:13 -05:00
stream.py Improvements to bundling aggregations. (#11815) 2022-01-26 08:27:04 -05:00
tags.py
transactions.py Add admin API to get a list of federated rooms (#11658) 2022-01-25 16:11:40 +00:00
ui_auth.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
user_directory.py Add type hints to `synapse/storage/databases/main` (#11984) 2022-02-21 16:03:06 +00:00
user_erasure_store.py