diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-04-01 13:29:05 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-04-01 13:29:05 +0100 |
commit | e36bfbab38def70e0fcc1bafcecb6e666dbbc1ad (patch) | |
tree | 6877f36d3097d5199a0dcd2eb32a7c48c0a5256c /synapse/storage/pusher.py | |
parent | Merge pull request #680 from matrix-org/markjh/remove_is_new_state (diff) | |
download | synapse-e36bfbab38def70e0fcc1bafcecb6e666dbbc1ad.tar.xz |
Use a stream id generator for backfilled ids
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r-- | synapse/storage/pusher.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py index 87b2ac5773..d1669c778a 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py @@ -78,7 +78,7 @@ class PusherStore(SQLBaseStore): defer.returnValue(rows) def get_pushers_stream_token(self): - return self._pushers_id_gen.get_max_token() + return self._pushers_id_gen.get_current_token() def get_all_updated_pushers(self, last_id, current_id, limit): def get_all_updated_pushers_txn(txn): |