diff options
author | David Baker <dave@matrix.org> | 2014-12-18 18:44:33 +0000 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2014-12-18 18:44:33 +0000 |
commit | fead431c181918558207f5115bd678a8984ce8d5 (patch) | |
tree | ca09835f837bbd80067c446824b0da467bff2c7e /synapse | |
parent | Merge branch 'develop' into pushers (diff) | |
download | synapse-fead431c181918558207f5115bd678a8984ce8d5.tar.xz |
If we didn't get any events, advance the token or we'll just keep not getting the same events again.
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/push/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/push/__init__.py b/synapse/push/__init__.py index 5fe8719fe7..c5586be7b9 100644 --- a/synapse/push/__init__.py +++ b/synapse/push/__init__.py @@ -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: |