mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-22 14:30:58 -04:00
revert back to node-sqlite3, as better-sqlite3 causes a lot of installation problems
This commit is contained in:
parent
3e7bb355fd
commit
cd1a3a2fb9
4 changed files with 987 additions and 603 deletions
|
@ -13,9 +13,6 @@ class Database {
|
|||
static async connect() {
|
||||
const acquireConnectionTimeout = 120 * 1000;
|
||||
|
||||
R.useBetterSQLite3 = true;
|
||||
R.betterSQLite3Options.timeout = acquireConnectionTimeout;
|
||||
|
||||
R.setup("sqlite", {
|
||||
filename: Database.path,
|
||||
useNullAsDefault: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue