Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix typo in comment from #11255. (#11276)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Nov 8, 2021
1 parent 86a497e commit 0c82d4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/11276.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix rolling back Synapse version when using workers.
2 changes: 1 addition & 1 deletion synapse/storage/prepare_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0c82d4a

Please sign in to comment.