synapse-product/tests
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
..
api Record device_id in client_ips 2016-07-20 16:41:03 +01:00
appservice Make notify_interested_services faster 2016-08-17 17:20:50 +01:00
config Add function to load config without generating it 2016-06-09 18:50:38 +01:00
crypto Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
events Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
handlers Fix unit tests 2016-09-06 18:30:03 +01:00
metrics Change CacheMetrics to be quicker 2016-06-03 11:26:52 +01:00
replication Reduce DB hits for replication 2016-09-23 16:49:21 +01:00
rest More 0_0 in tests 2016-08-25 18:42:46 +01:00
storage Fix unit tests 2016-08-26 15:40:27 +01:00
util Ensure invalidation list does not grow unboundedly 2016-08-19 16:09:16 +01:00
__init__.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_distributor.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_dns.py Tests 2016-04-06 10:12:30 +01:00
test_preview.py Fix up preview URL API. Add tests. 2016-08-16 14:53:24 +01:00
test_state.py Correctly handle the difference between prev and current state 2016-08-31 14:26:22 +01:00
test_test_utils.py Fix flake8 warnings for tests 2016-02-19 15:34:38 +00:00
test_types.py Remove redundated BaseHomeServer 2016-01-26 13:52:29 +00:00
unittest.py Slightly saner logging for unittests 2016-07-25 12:12:47 +01:00
utils.py Add create_requester function 2016-07-26 16:46:53 +01:00