mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-21 17:15:38 +03:00
Revert "check sqlite database file exists before porting/#14692" (#15301)
This commit is contained in:
parent
ec9224bf9a
commit
96bcc5d902
2 changed files with 4 additions and 1 deletions
3
changelog.d/15301.bugfix
Normal file
3
changelog.d/15301.bugfix
Normal file
|
@ -0,0 +1,3 @@
|
|||
Fix a bug introduced in Synapse 1.75.0rc1 where the [SQLite port_db script](https://matrix-org.github.io/synapse/latest/postgres.html#porting-from-sqlite)
|
||||
would fail to open the SQLite database.
|
||||
|
|
@ -1329,7 +1329,7 @@ def main() -> None:
|
|||
sqlite_config = {
|
||||
"name": "sqlite3",
|
||||
"args": {
|
||||
"database": "file:{}?mode=rw".format(args.sqlite_database),
|
||||
"database": args.sqlite_database,
|
||||
"cp_min": 1,
|
||||
"cp_max": 1,
|
||||
"check_same_thread": False,
|
||||
|
|
Loading…
Reference in a new issue