anonymousland-synapse/synapse/app
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
..
__init__.py Fix flake8 violation 2016-07-26 11:59:08 +01:00
appservice.py Enable state caches on workers 2016-09-15 14:31:22 +01:00
client_reader.py fix logger for client_reader worker 2016-09-17 14:12:04 +01:00
federation_reader.py Enable state caches on workers 2016-09-15 14:31:22 +01:00
homeserver.py Update comment 2016-08-22 16:17:31 +01:00
media_repository.py Enable state caches on workers 2016-09-15 14:31:22 +01:00
pusher.py Reduce DB hits for replication 2016-09-23 16:49:21 +01:00
synchrotron.py Support /initialSync in synchrotron worker 2016-09-21 11:46:28 +01:00
synctl.py Optionally start or stop workers in synctl. 2016-06-21 16:38:05 +01:00