mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-29 18:50:39 +00:00
removed ; after the PRAGMA command
This commit is contained in:
parent
82b9bfc5a0
commit
71d62ee151
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue