mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Revert "check sqlite database file exists before porting/#14692" (#15301)
This commit is contained in:
parent
ec9224bf9a
commit
96bcc5d902
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 = {
|
sqlite_config = {
|
||||||
"name": "sqlite3",
|
"name": "sqlite3",
|
||||||
"args": {
|
"args": {
|
||||||
"database": "file:{}?mode=rw".format(args.sqlite_database),
|
"database": args.sqlite_database,
|
||||||
"cp_min": 1,
|
"cp_min": 1,
|
||||||
"cp_max": 1,
|
"cp_max": 1,
|
||||||
"check_same_thread": False,
|
"check_same_thread": False,
|
||||||
|
Loading…
Reference in New Issue
Block a user