summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2022-10-01 17:57:32 +0200
committerTor Andersson <tor@ccxvii.net>2022-10-05 17:36:50 +0200
commitd214832a193a06f20612fcfb3e64f86562235b70 (patch)
treee638b35d1dc4955c81794b212a0846b906c3db7f /server.js
parenta6c8e710af51be01bc8e40fd9a0a294678837a8e (diff)
downloadserver-d214832a193a06f20612fcfb3e64f86562235b70.tar.gz
Don't force journal mode in server.
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/server.js b/server.js
index e0d1b13..4c3ca57 100644
--- a/server.js
+++ b/server.js
@@ -65,9 +65,7 @@ setInterval(LOG_STATS, 30 * 1000)
*/
let db = new sqlite3(process.env.DATABASE || "./db")
-db.pragma("journal_mode = WAL")
db.pragma("synchronous = NORMAL")
-db.pragma("foreign_keys = ON")
function SQL(s) {
return db.prepare(s)