Fix typo in comment from #11255. (#11276)

This commit is contained in:
Patrick Cloke 2021-11-08 09:36:49 -05:00 committed by GitHub
parent 86a497efaa
commit 0c82d4aabe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/11276.bugfix Normal file
View file

@ -0,0 +1 @@
Fix rolling back Synapse version when using workers.

View file

@ -142,7 +142,7 @@ def prepare_database(
databases=databases,
)
elif version_info.current_version < SCHEMA_VERSION:
# If the DB is on an older version than we expect the we refuse
# If the DB is on an older version than we expect then we refuse
# to start the worker (as the main process needs to run first to
# update the schema).
raise UpgradeDatabaseException(