Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Generalise the `@cancellable` annotation so it can be used on functions ↵ | reivilibre | 2022-08-31 | 1 | -1/+2 |
| | | | | other than just servlet methods. (#13662) | ||||
* | Clean up the test code for client disconnections (#12929) | Sean Quah | 2022-06-07 | 1 | -6/+4 |
| | | | | | | | * Reword failure message about `await_result=False` * Use `reactor.advance()` instead of `reactor.pump()` * Raise `AssertionError`s ourselves * Un-instance method `_test_disconnect` * Replace `ThreadedMemoryReactorClock` with `MemoryReactorClock` | ||||
* | Respect the `@cancellable` flag for `ReplicationEndpoint`s (#12700) | Sean Quah | 2022-05-11 | 1 | -0/+106 |
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> |