Commit Graph

17 Commits (9e2c22c97f018007da95bf22f48173ea3b9fd1ed)

Author SHA1 Message Date
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
pztrn 7ab401d4dc Ignore development virtualenv and generated logger configuration as well.
Signed-off-by: Stanislav Nikitin <pztrn@pztrn.name>
2015-09-01 19:48:22 +05:00
Mark Haines 3a20cdcd27 Add .tox to .gitignore 2015-08-25 15:45:03 +01:00
Kegan Dougal e6363857d0 Add core registration html/js 2015-02-23 16:08:43 +00:00
Erik Johnston 30a89d2fdb Update .gitignore 2015-01-23 15:51:32 +00:00
Mark Haines 58691680b8 update .gitignore, set media-store-path in demo 2015-01-22 14:20:53 +00:00
Erik Johnston 617dde2ba9 Ignore pycharm dir 2014-12-08 10:18:50 +00:00
Kegan Dougal 3d3f692fd8 Add test coverage to the webclient. Update .gitignore 2014-11-12 16:22:22 +00:00
Matthew Hodgson 192fce51d7 hide crap from gitignore 2014-11-12 00:18:25 +02:00
Kegan Dougal 4e52f9699b Update .gitignore to ignore config.js files in syweb/webclient. 2014-11-04 16:15:13 +00:00
Kegan Dougal e3152188ef Added boilerplate for running end-to-end tests.\nThis is done using Protractor, which looks for a .gitignored file environment-protractor.js which contains the selenium endpoint url. 2014-09-22 14:29:12 +01:00
Kegan Dougal c80f739461 Added webclient config.js for storing recaptcha public key. 2014-09-05 17:36:09 -07:00
Mark Haines e2ae8af072 Add demo/etc to .gitignore 2014-09-05 14:38:56 +01:00
Erik Johnston 47519cd8c2 Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor
Conflicts:
	synapse/handlers/events.py
	synapse/rest/events.py
	synapse/rest/room.py
2014-08-27 14:13:06 +01:00
Paul "LeoNerd" Evans dddf5c0cc8 git ignore all the homeserver*.db files 2014-08-27 13:08:55 +01:00
Erik Johnston 3a2a5b959c WIP: Completely change how event streaming and pagination work. This reflects the change in the underlying storage model. 2014-08-26 18:57:46 +01:00
Paul "LeoNerd" Evans 31ac288eb7 Capture the .gitignore file 2014-08-12 16:42:43 +01:00