fix(seenAlerts): Added a function so that every 2 minutes it clears the seenAlerts variable. This should fix a problem when multiple real different alerts for some reason have the same name.

This commit is contained in:
2026-06-18 10:53:57 -04:00
parent ae70f2022a
commit 4570cac5e5
+6 -1
View File
@@ -47,5 +47,10 @@
} }
seenAlerts = currentAlerts; seenAlerts = currentAlerts;
}, 2000); }, 2000);
setInterval(function () {
seenAlerts = {};
console.log('[DuressGuard] Cleared seen alerts - rechecking');
}, 120000);
} }
})();; })();