summaryrefslogtreecommitdiff
path: root/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'server.js')
-rw-r--r--server.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.js b/server.js
index 5e90135..0835b34 100644
--- a/server.js
+++ b/server.js
@@ -20,6 +20,8 @@ const MAX_OPEN_GAMES = 5;
let session_store = new SQLiteStore();
let db = new sqlite3(process.env.DATABASE || "./db");
+db.pragma("journal_mode = WAL");
+db.pragma("synchronous = NORMAL");
let app = express();
let server = null;