mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-09 05:57:20 +08:00
WIP: Enable background jobs
WIP: Remove better-sqlite3
This commit is contained in:
@@ -46,6 +46,9 @@ Notification.init();
|
||||
debug("Importing Database");
|
||||
const Database = require("./database");
|
||||
|
||||
debug("Importing Background Jobs");
|
||||
const { initBackgroundJobs } = require("./jobs");
|
||||
|
||||
const { basicAuth } = require("./auth");
|
||||
const { login } = require("./auth");
|
||||
const passwordHash = require("./password-hash");
|
||||
@@ -1231,6 +1234,8 @@ exports.entryPage = "dashboard";
|
||||
}
|
||||
});
|
||||
|
||||
initBackgroundJobs(args);
|
||||
|
||||
})();
|
||||
|
||||
async function updateMonitorNotification(monitorID, notificationIDList) {
|
||||
|
Reference in New Issue
Block a user