Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert the message handler to async/await. (#7884) | Patrick Cloke | 2020-07-22 | 1 | -32/+44 |
| | |||||
* | Discard RDATA from already seen positions. (#7648) | Patrick Cloke | 2020-06-15 | 1 | -15/+59 |
| | |||||
* | Clean up replication unit tests. (#7490) | Erik Johnston | 2020-05-13 | 1 | -1/+1 |
| | |||||
* | Use `stream.current_token()` and remove `stream_positions()` (#7172) | Erik Johnston | 2020-05-01 | 1 | -8/+16 |
| | | | | We move the processing of typing and federation replication traffic into their handlers so that `Stream.current_token()` points to a valid token. This allows us to remove `get_streams_to_replicate()` and `stream_positions()`. | ||||
* | Fix limit logic for EventsStream (#7358) | Richard van der Hoff | 2020-04-29 | 1 | -0/+417 |
* Factor out functions for injecting events into database I want to add some more flexibility to the tools for injecting events into the database, and I don't want to clutter up HomeserverTestCase with them, so let's factor them out to a new file. * Rework TestReplicationDataHandler This wasn't very easy to work with: the mock wrapping was largely superfluous, and it's useful to be able to inspect the received rows, and clear out the received list. * Fix AssertionErrors being thrown by EventsStream Part of the problem was that there was an off-by-one error in the assertion, but also the limit logic was too simple. Fix it all up and add some tests. |