diff options
author | Erik Johnston <erik@matrix.org> | 2015-04-15 16:25:07 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-04-15 16:25:07 +0100 |
commit | 6e91f14d09cf64100dc8fecc83c333f59fe8e77a (patch) | |
tree | 2e7c0adc1a5e378f19537f71eca022ddaf9108f1 /synapse/storage/pusher.py | |
parent | pushers table requires a unique id. (diff) | |
download | synapse-6e91f14d09cf64100dc8fecc83c333f59fe8e77a.tar.xz |
Add missing yield
Diffstat (limited to '')
-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 e4135ba922..80c3ba154f 100644 --- a/synapse/storage/pusher.py +++ b/synapse/storage/pusher.py @@ -99,7 +99,7 @@ class PusherStore(SQLBaseStore): app_display_name, device_display_name, pushkey, pushkey_ts, lang, data): try: - next_id = self._pushers_id_gen.get_next() + next_id = yield self._pushers_id_gen.get_next() yield self._simple_upsert( PushersTable.table_name, dict( |