MatrixSynapse/synapse
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
..
_scripts
api Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100) 2022-02-28 17:40:24 +00:00
app Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
appservice Add support for MSC3202: sending one-time key counts and fallback key usage states to Application Services. (#11617) 2022-02-24 17:55:45 +00:00
config Add support for MSC3202: sending one-time key counts and fallback key usage states to Application Services. (#11617) 2022-02-24 17:55:45 +00:00
crypto Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
events Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
federation Remove the unstable `/spaces` endpoint. (#12073) 2022-02-28 18:33:00 +00:00
groups Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
handlers Improve exception handling for concurrent execution (#12109) 2022-03-01 09:34:30 +00:00
http Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
logging
metrics
module_api Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
push Fix `PushRuleEvaluator` and `Filter` to work on frozendicts (#12100) 2022-02-28 17:40:24 +00:00
replication Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
res Fetch images when previewing Twitter URLs. (#11985) 2022-02-22 07:11:39 -05:00
rest Remove the unstable `/spaces` endpoint. (#12073) 2022-02-28 18:33:00 +00:00
server_notices Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
spam_checker_api
state Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
static
storage Ensure that `get_datastores().main` is typed (#12070) 2022-02-25 10:20:40 +00:00
streams Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
util Fix 'Unhandled error in Deferred' (#12089) 2022-03-01 09:51:38 +00:00
__init__.py 1.53.0 2022-02-22 11:32:11 +00:00
event_auth.py Remove excess condition on `knock->leave` check (#11900) 2022-02-22 18:35:01 +00:00
notifier.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
py.typed
python_dependencies.py
server.py Remove `HomeServer.get_datastore()` (#12031) 2022-02-23 11:04:02 +00:00
types.py
visibility.py