-
- Downloads
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>
Showing
- changelog.d/12700.misc 1 addition, 0 deletionschangelog.d/12700.misc
- synapse/replication/http/_base.py 19 additions, 2 deletionssynapse/replication/http/_base.py
- tests/replication/http/__init__.py 13 additions, 0 deletionstests/replication/http/__init__.py
- tests/replication/http/test__base.py 106 additions, 0 deletionstests/replication/http/test__base.py
changelog.d/12700.misc
0 → 100644
tests/replication/http/__init__.py
0 → 100644
tests/replication/http/test__base.py
0 → 100644
Please register or sign in to comment