mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-21 23:19:29 -04:00
If we didn't get any events, advance the token or we'll just keep not getting the same events again.
This commit is contained in:
parent
b56730bb6e
commit
fead431c18
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ class Pusher(object):
|
||||||
single_event = c
|
single_event = c
|
||||||
break
|
break
|
||||||
if not single_event:
|
if not single_event:
|
||||||
|
self.last_token = chunk['end']
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if not self.alive:
|
if not self.alive:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue