diff options
author | Erik Johnston <erik@matrix.org> | 2019-12-06 13:40:02 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-12-06 15:49:44 +0000 |
commit | d537be1ebd0e7ce4c84118efa400932cc6432aa9 (patch) | |
tree | 826900b4179f93fa40e4ea3b09b3adf35295e4dc /synapse/storage/background_updates.py | |
parent | Move are_all_users_on_domain checks to main data store. (diff) | |
download | synapse-d537be1ebd0e7ce4c84118efa400932cc6432aa9.tar.xz |
Pass Database into the data store
Diffstat (limited to 'synapse/storage/background_updates.py')
-rw-r--r-- | synapse/storage/background_updates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/background_updates.py b/synapse/storage/background_updates.py index a9a13a2658..4f97fd5ab6 100644 --- a/synapse/storage/background_updates.py +++ b/synapse/storage/background_updates.py @@ -379,7 +379,7 @@ class BackgroundUpdater(object): logger.debug("[SQL] %s", sql) c.execute(sql) - if isinstance(self.db.database_engine, engines.PostgresEngine): + if isinstance(self.db.engine, engines.PostgresEngine): runner = create_index_psql elif psql_only: runner = None |