summary refs log tree commit diff
path: root/synapse/_scripts/synapse_port_db.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-01-10 12:43:28 +0000
committerDavid Robertson <davidr@element.io>2023-01-10 12:43:28 +0000
commit04aa6a970790543e773639c821d0628e5fadaf32 (patch)
tree48adfb5013d2a31253030a0f2508896e7c72b390 /synapse/_scripts/synapse_port_db.py
parentMerge branch 'rei/dresync_exp' into matrix-org-hotfixes (diff)
parentUpdate changelog 2 (diff)
downloadsynapse-04aa6a970790543e773639c821d0628e5fadaf32.tar.xz
Merge remote-tracking branch 'origin/release-v1.75' into matrix-org-hotfixes
Diffstat (limited to 'synapse/_scripts/synapse_port_db.py')
-rwxr-xr-xsynapse/_scripts/synapse_port_db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py

index d850e54e17..c463b60b26 100755 --- a/synapse/_scripts/synapse_port_db.py +++ b/synapse/_scripts/synapse_port_db.py
@@ -1307,7 +1307,7 @@ def main() -> None: sqlite_config = { "name": "sqlite3", "args": { - "database": args.sqlite_database, + "database": "file:{}?mode=rw".format(args.sqlite_database), "cp_min": 1, "cp_max": 1, "check_same_thread": False,