mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 07:35:59 +08:00
Merge 0400ce9cdf
into 82a437f2a8
This commit is contained in:
commit
f165aba547
|
@ -11,7 +11,9 @@ const cls = require('./cls.js');
|
|||
const fs = require("fs-extra");
|
||||
|
||||
const dbConnection = new Database(dataDir.DOCUMENT_PATH);
|
||||
dbConnection.pragma('journal_mode = WAL');
|
||||
if (process.env.TRILIUM_DB_DISABLE_WAL !== "1") {
|
||||
dbConnection.pragma('journal_mode = WAL');
|
||||
}
|
||||
|
||||
const LOG_ALL_QUERIES = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue