summary refs log tree commit diff
path: root/synapse/storage/pusher.py
diff options
context:
space:
mode:
authorMark Haines <mjark@negativecurvature.net>2016-03-01 14:54:29 +0000
committerMark Haines <mjark@negativecurvature.net>2016-03-01 14:54:29 +0000
commitd50ca1b1edf45b630715f1847435eb493842bbdc (patch)
tree5a291e62c4615275e7fc63284b088d82f069c3a9 /synapse/storage/pusher.py
parentMerge pull request #611 from matrix-org/erikj/expiring_cache_size (diff)
parentLoad the current id in the IdGenerator constructor (diff)
downloadsynapse-d50ca1b1edf45b630715f1847435eb493842bbdc.tar.xz
Merge pull request #613 from matrix-org/markjh/yield
Load the current id in the IdGenerator constructor
Diffstat (limited to 'synapse/storage/pusher.py')
-rw-r--r--synapse/storage/pusher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/pusher.py b/synapse/storage/pusher.py

index c23648cdbc..7693ab9082 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py
@@ -84,7 +84,7 @@ class PusherStore(SQLBaseStore): app_display_name, device_display_name, pushkey, pushkey_ts, lang, data, profile_tag=""): try: - next_id = yield self._pushers_id_gen.get_next() + next_id = self._pushers_id_gen.get_next() yield self._simple_upsert( "pushers", dict(