diff options
author | David Robertson <davidr@element.io> | 2022-06-07 17:33:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 17:33:55 +0100 |
commit | 586bfc6dc0241bdd40376c3314f13b82a5593538 (patch) | |
tree | 2ab1a8b5cfaa5745e7b9db1f09009051e0d432c7 /synapse/storage/prepare_database.py | |
parent | Test cancellation at every `await` during request handling (#12674) (diff) | |
download | synapse-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.py | 3 |
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 |