MatrixSynapse/synapse/util/caches
Richard van der Hoff 5458eb8551
Fix 'Unhandled error in Deferred' (#12089)
* Fix 'Unhandled error in Deferred'

Fixes a CRITICAL "Unhandled error in Deferred" log message which happened when
a function wrapped with `@cachedList` failed

* Minor optimisation to cachedListDescriptor

we can avoid re-using `missing`, which saves looking up entries in
`deferreds_map`, and means we don't need to copy it.

* Improve type annotation on CachedListDescriptor
2022-03-01 09:51:38 +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 Fix 'Unhandled error in Deferred' (#12089) 2022-03-01 09:51:38 +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
treecache.py
ttlcache.py