mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
a00462dd99
There's no guarantee that module callbacks will handle cancellation appropriately. Protect module callbacks with read semantics from cancellation and avoid swallowing `CancelledError`s that arise. Other module callbacks, such as the `on_*` callbacks, are presumed to live on code paths that involve writes and aren't cancellation-friendly. These module callbacks have been left alone. Signed-off-by: Sean Quah <seanq@element.io> |
||
---|---|---|
.. | ||
__init__.py | ||
builder.py | ||
presence_router.py | ||
snapshot.py | ||
spamcheck.py | ||
third_party_rules.py | ||
utils.py | ||
validator.py |