summary refs log tree commit diff
path: root/tests/test_state.py
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2022-05-11 12:25:39 +0100
committerGitHub <noreply@github.com>2022-05-11 12:25:39 +0100
commita559c8b0d939670b9d58dbeda6f3b1dd2f21937b (patch)
treea65624b2afd33d2b1d126d4c5144b5d2cf80812a /tests/test_state.py
parentRespect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet... (diff)
downloadsynapse-a559c8b0d939670b9d58dbeda6f3b1dd2f21937b.tar.xz
Respect the `@cancellable` flag for `ReplicationEndpoint`s (#12700)
While `ReplicationEndpoint`s register themselves via `JsonResource`,
they pass a method that calls the handler, instead of the handler itself,
to `register_paths`. As a result, `JsonResource` will not correctly pick
up the `@cancellable` flag and we have to apply it ourselves.

Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'tests/test_state.py')
0 files changed, 0 insertions, 0 deletions