mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-14 14:01:59 +01:00
748d8fdc7b
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.
48 lines
439 B
Text
48 lines
439 B
Text
*.pyc
|
|
.*.swp
|
|
|
|
.DS_Store
|
|
_trial_temp/
|
|
logs/
|
|
dbs/
|
|
*.egg
|
|
dist/
|
|
docs/build/
|
|
*.egg-info
|
|
|
|
cmdclient_config.json
|
|
homeserver*.db
|
|
homeserver*.log
|
|
homeserver*.pid
|
|
homeserver*.yaml
|
|
|
|
*.signing.key
|
|
*.tls.crt
|
|
*.tls.dh
|
|
*.tls.key
|
|
|
|
.coverage
|
|
htmlcov
|
|
|
|
demo/*/*.db
|
|
demo/*/*.log
|
|
demo/*/*.log.*
|
|
demo/*/*.pid
|
|
demo/media_store.*
|
|
demo/etc
|
|
|
|
uploads
|
|
|
|
.idea/
|
|
media_store/
|
|
|
|
*.tac
|
|
|
|
build/
|
|
|
|
localhost-800*/
|
|
static/client/register/register_config.js
|
|
.tox
|
|
|
|
env/
|
|
*.config
|