From 31738cacf6695d4b081f6dd1948b194010514a6d Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 28 Feb 2023 09:47:34 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E7=94=9F=E6=88=90=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=8E=86=E5=8F=B2=E7=B4=A2=E5=BC=95=E6=8A=A5=E9=94=99=20Fix=20?= =?UTF-8?q?https://github.com/siyuan-note/siyuan/issues/7509?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/sql/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sql/database.go b/kernel/sql/database.go index 39b4d6e42..e9e592f9c 100644 --- a/kernel/sql/database.go +++ b/kernel/sql/database.go @@ -215,7 +215,7 @@ func initHistoryDBConnection() { historyDB.Close() } - dsn := util.DBPath + "?_journal_mode=WAL" + + dsn := util.HistoryDBPath + "?_journal_mode=WAL" + "&_synchronous=OFF" + "&_mmap_size=2684354560" + "&_secure_delete=OFF" +