forked-synapse/synapse/replication
Erik Johnston 748d8fdc7b Reduce DB hits for replication
Some streams will occaisonally advance their positions without actually
having any new rows to send over federation. Currently this means that
the token will not advance on the workers, leading to them repeatedly
sending a slightly out of date token. This in turns requires the master
to hit the DB to check if there are any new rows, rather than hitting
the no op logic where we check if the given token matches the current
token.

This commit changes the API to always return an entry if the position
for a stream has changed, allowing workers to advance their tokens
correctly.
2016-09-23 16:49:21 +01:00
..
slave Fix public room pagination for client_reader app 2016-09-16 14:48:21 +01:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00
presence_resource.py Allow external processes to mark a user as syncing. (#812) 2016-06-02 15:20:15 +01:00
pusher_resource.py Report per request metrics for all of the things using request_handler 2016-04-28 10:57:49 +01:00
resource.py Reduce DB hits for replication 2016-09-23 16:49:21 +01:00