summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-03-01 09:51:38 +0000
committerGitHub <noreply@github.com>2022-03-01 09:51:38 +0000
commit5458eb8551be676fea7ff21e2b0d3c3762c871a7 (patch)
treea0c6c1e8db226d76a0c5af7b73395494639818ee /tests/storage
parentImprove exception handling for concurrent execution (#12109) (diff)
downloadsynapse-5458eb8551be676fea7ff21e2b0d3c3762c871a7.tar.xz
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
Diffstat (limited to 'tests/storage')
0 files changed, 0 insertions, 0 deletions