diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2022-05-11 12:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 12:25:39 +0100 |
commit | a559c8b0d939670b9d58dbeda6f3b1dd2f21937b (patch) | |
tree | a65624b2afd33d2b1d126d4c5144b5d2cf80812a /tests/test_state.py | |
parent | Respect the `@cancellable` flag for `RestServlet`s and `BaseFederationServlet... (diff) | |
download | synapse-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