forked from MirrorHub/synapse
Always advance stream tokens
This commit is contained in:
parent
1df7c28661
commit
0a6a966e2b
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ class ReplicationStreamer(object):
|
||||||
is currently being executed, so that nothing gets missed
|
is currently being executed, so that nothing gets missed
|
||||||
"""
|
"""
|
||||||
if not self.connections:
|
if not self.connections:
|
||||||
# Don't bother if nothing is listening
|
# Don't bother if nothing is listening. We still need to advance
|
||||||
|
# the stream tokens otherwise they'll fall beihind forever
|
||||||
|
for stream in self.streams:
|
||||||
|
stream.advance_current_token()
|
||||||
return
|
return
|
||||||
|
|
||||||
# If we're in the process of checking for new updates, mark that fact
|
# If we're in the process of checking for new updates, mark that fact
|
||||||
|
|
Loading…
Reference in a new issue