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

Commit 0c82d4a

Browse files
authored
Fix typo in comment from #11255. (#11276)
1 parent 86a497e commit 0c82d4a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/11276.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix rolling back Synapse version when using workers.

synapse/storage/prepare_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def prepare_database(
142142
databases=databases,
143143
)
144144
elif version_info.current_version < SCHEMA_VERSION:
145-
# If the DB is on an older version than we expect the we refuse
145+
# If the DB is on an older version than we expect then we refuse
146146
# to start the worker (as the main process needs to run first to
147147
# update the schema).
148148
raise UpgradeDatabaseException(

0 commit comments

Comments
 (0)