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
deferred_cache.py
descriptors.py Fix 'Unhandled error in Deferred' (#12089) 2022-03-01 09:51:38 +00:00
dictionary_cache.py
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
ttlcache.py