Merge branch 'develop' into fix-timestamps-format

This commit is contained in:
karenvicent committed 2025-08-20 18:16:50 -04:00
commit 75a2e0deee
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ import { execSync } from "child_process";
export default defineConfig(({ mode }) => { export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), ""); const env = loadEnv(mode, process.cwd(), "");
let version = "3.0-beta"; let version = "3.1";
return { return {
base: "/", base: "/",
@@ -152,12 +152,6 @@ class StatusService {
const failures = monitor.statusWindow.filter((s) => s === false).length; const failures = monitor.statusWindow.filter((s) => s === false).length;
const failureRate = (failures / monitor.statusWindow.length) * 100; const failureRate = (failures / monitor.statusWindow.length) * 100;
console.log({
failureRate,
status: monitor.status,
statusWindow: monitor.statusWindow,
});
// If threshold has been met and the monitor is not already down, mark down: // If threshold has been met and the monitor is not already down, mark down:
if (failureRate >= monitor.statusWindowThreshold && monitor.status !== false) { if (failureRate >= monitor.statusWindowThreshold && monitor.status !== false) {
newStatus = false; newStatus = false;