Skip to content
Snippets Groups Projects
Commit 0a6a966e authored by Erik Johnston's avatar Erik Johnston
Browse files

Always advance stream tokens

parent 1df7c286
No related branches found
No related tags found
No related merge requests found
......@@ -121,7 +121,10 @@ class ReplicationStreamer(object):
is currently being executed, so that nothing gets missed
"""
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
# If we're in the process of checking for new updates, mark that fact
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment