summary refs log tree commit diff
path: root/synapse/storage/prepare_database.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-06-07 17:33:55 +0100
committerGitHub <noreply@github.com>2022-06-07 17:33:55 +0100
commit586bfc6dc0241bdd40376c3314f13b82a5593538 (patch)
tree2ab1a8b5cfaa5745e7b9db1f09009051e0d432c7 /synapse/storage/prepare_database.py
parentTest cancellation at every `await` during request handling (#12674) (diff)
downloadsynapse-586bfc6dc0241bdd40376c3314f13b82a5593538.tar.xz
Use dummy fallback engines if imports fail (#12979)
Diffstat (limited to 'synapse/storage/prepare_database.py')
-rw-r--r--synapse/storage/prepare_database.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/storage/prepare_database.py b/synapse/storage/prepare_database.py
index c33df42084..09a2b58f4c 100644
--- a/synapse/storage/prepare_database.py
+++ b/synapse/storage/prepare_database.py
@@ -23,8 +23,7 @@ from typing_extensions import Counter as CounterType
 
 from synapse.config.homeserver import HomeServerConfig
 from synapse.storage.database import LoggingDatabaseConnection
-from synapse.storage.engines import BaseDatabaseEngine
-from synapse.storage.engines.postgres import PostgresEngine
+from synapse.storage.engines import BaseDatabaseEngine, PostgresEngine
 from synapse.storage.schema import SCHEMA_COMPAT_VERSION, SCHEMA_VERSION
 from synapse.storage.types import Cursor