From d214832a193a06f20612fcfb3e64f86562235b70 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 1 Oct 2022 17:57:32 +0200 Subject: Don't force journal mode in server. --- server.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'server.js') 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) -- cgit v1.2.3