MatrixSynapse/tests/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
test_cached_call.py
test_deferred_cache.py
test_descriptors.py Fix 'Unhandled error in Deferred' (#12089) 2022-03-01 09:51:38 +00:00
test_response_cache.py
test_ttlcache.py