diff options
author | Mark Haines <mjark@negativecurvature.net> | 2016-03-01 14:54:29 +0000 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2016-03-01 14:54:29 +0000 |
commit | d50ca1b1edf45b630715f1847435eb493842bbdc (patch) | |
tree | 5a291e62c4615275e7fc63284b088d82f069c3a9 /synapse/storage/pusher.py | |
parent | Merge pull request #611 from matrix-org/erikj/expiring_cache_size (diff) | |
parent | Load the current id in the IdGenerator constructor (diff) | |
download | synapse-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.py | 2 |
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( |