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
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
stream_change_cache.py
treecache.py Remove unnecessary pass statements. (#12206) 2022-03-11 07:06:21 -05:00
ttlcache.py