MatrixSynapse/synapse/util/caches
Sean Quah 2fcf4b3f6c
Add cancellation support to `@cached` and `@cachedList` decorators (#12183)
These decorators mostly support cancellation already. Add cancellation
tests and fix use of finished logging contexts by delaying cancellation,
as suggested by @erikjohnston.

Signed-off-by: Sean Quah <seanq@element.io>
2022-03-14 19:04:29 +00:00
..
__init__.py Track cache invalidations (#12000) 2022-02-15 14:31:04 +00:00
cached_call.py Add missing type hints to `synapse.logging.context` (#11556) 2021-12-14 17:35:28 +00:00
deferred_cache.py Describe `prune_unread_entries` in docstrings (#11876) 2022-02-02 15:11:23 +00:00
descriptors.py Add cancellation support to `@cached` and `@cachedList` decorators (#12183) 2022-03-14 19:04:29 +00:00
dictionary_cache.py Use auto_attribs/native type hints for attrs classes. (#11692) 2022-01-13 13:49:28 +00:00
expiringcache.py Track cache invalidations (#12000) 2022-02-15 14:31:04 +00:00
lrucache.py Track cache invalidations (#12000) 2022-02-15 14:31:04 +00:00
response_cache.py Improve opentracing support for `ResponseCache` (#11607) 2021-12-20 18:12:08 +00:00
stream_change_cache.py More types for synapse.util, part 1 (#10888) 2021-10-06 11:20:49 +01:00
treecache.py Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
ttlcache.py More types for synapse.util, part 1 (#10888) 2021-10-06 11:20:49 +01:00