Uptime calculation improvement and 1-year uptime (#2750)

This commit is contained in:
Louis Lam 2023-09-01 05:19:21 +08:00 committed by GitHub
parent eec221247f
commit 076331bf00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 1306 additions and 264 deletions

View file

@ -84,7 +84,7 @@ log.info("server", "Importing this project modules");
log.debug("server", "Importing Monitor");
const Monitor = require("./model/monitor");
log.debug("server", "Importing Settings");
const { getSettings, setSettings, setting, initJWTSecret, checkLogin, startUnitTest, FBSD, doubleCheckPassword, startE2eTests,
const { getSettings, setSettings, setting, initJWTSecret, checkLogin, FBSD, doubleCheckPassword, startE2eTests,
allowDevAllOrigin
} = require("./util-server");
@ -1659,10 +1659,6 @@ let needSetup = false;
startMonitors();
checkVersion.startInterval();
if (testMode) {
startUnitTest();
}
if (e2eTestMode) {
startE2eTests();
}