From 71d62ee1510a5c336d3d22901e231814bba0187f Mon Sep 17 00:00:00 2001 From: Joseph Benguira Date: Sun, 31 Jul 2022 19:00:19 +0300 Subject: [PATCH] removed ; after the PRAGMA command --- server/database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/database.js b/server/database.js index 4c374ca6..5f87352b 100644 --- a/server/database.js +++ b/server/database.js @@ -148,7 +148,7 @@ class Database { await R.exec("PRAGMA auto_vacuum = FULL"); //Avoid error "SQLITE_BUSY: database is locked" by allowing SQLITE to wait up to 5 seconds to do a write - await R.exec("PRAGMA busy_timeout = 5000;"); + await R.exec("PRAGMA busy_timeout = 5000"); // This ensures that an operating system crash or power failure will not corrupt the database. // FULL synchronous is very safe, but it is also slower.