0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-19 16:32:24 +01: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:
David Baker 2014-12-18 18:44:33 +00:00
parent b56730bb6e
commit fead431c18

View file

@ -79,6 +79,7 @@ class Pusher(object):
single_event = c
break
if not single_event:
self.last_token = chunk['end']
continue
if not self.alive: