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" +