Update notification service

This commit is contained in:
MacRimi
2026-03-05 20:44:51 +01:00
parent 5a79556ab2
commit d927b462b6
5 changed files with 329 additions and 15 deletions

View File

@@ -1731,6 +1731,16 @@ class PollingCollector:
self._last_notified.pop(key, None)
continue
# Skip recovery if the error was manually acknowledged (dismissed)
# by the user. Acknowledged != resolved -- the problem may still
# exist, the user just chose to suppress notifications for it.
try:
if health_persistence.is_error_acknowledged(key):
self._last_notified.pop(key, None)
continue
except Exception:
pass
# Calculate duration
duration = ''
if first_seen: