mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Always advance stream tokens
This commit is contained in:
parent
1df7c28661
commit
0a6a966e2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user