MatrixSynapse/tests
Sean Quah 6121056740
Handle cancellation in `DatabasePool.runInteraction()` (#12199)
To handle cancellation, we ensure that `after_callback`s and
`exception_callback`s are always run, since the transaction will
complete on another thread regardless of cancellation.

We also wait until everything is done before releasing the
`CancelledError`, so that logging contexts won't get used after they
have been finished.

Signed-off-by: Sean Quah <seanq@element.io>
2022-03-16 15:07:41 +00:00
..
api
app
appservice Rename various ApplicationServices interested methods (#11915) 2022-03-03 18:14:09 +00:00
config Add config settings for background update parameters (#11980) 2022-03-11 10:46:45 -08:00
crypto
events Use the proper serialization format when bundling aggregations. (#12090) 2022-03-03 10:43:06 -05:00
federation Spread out sending device lists to remote hosts (#12132) 2022-03-04 11:48:15 +00:00
handlers Add type hints to some tests/handlers files. (#12224) 2022-03-15 09:16:37 -04:00
http
logging
module_api
push Add an additional HTTP pusher + push rule tests. (#12188) 2022-03-11 08:45:26 -05:00
replication Rename get_tcp_replication to get_replication_command_handler. (#12192) 2022-03-10 13:01:56 +00:00
rest Refactor relations tests (#12232) 2022-03-16 09:20:57 -04:00
scripts
server_notices
state
storage Handle cancellation in `DatabasePool.runInteraction()` (#12199) 2022-03-16 15:07:41 +00:00
test_utils
util Add cancellation support to `@cached` and `@cachedList` decorators (#12183) 2022-03-14 19:04:29 +00:00
__init__.py
server.py
test_distributor.py
test_event_auth.py
test_federation.py
test_mau.py
test_metrics.py
test_phone_home.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py Update client-visibility filtering for outlier events (#12155) 2022-03-04 10:31:19 +00:00
unittest.py
utils.py