Update notification service

This commit is contained in:
MacRimi
2026-03-27 19:15:11 +01:00
parent 7c5e7208b9
commit 6bb9313b95
8 changed files with 319 additions and 255 deletions

View File

@@ -79,7 +79,7 @@ class _SharedState:
_shared_state = _SharedState()
# ─── Event Object ────────────────────────────────────────────────
# ─── Event Object ──────────────<EFBFBD><EFBFBD>──────────────────────────────────
class NotificationEvent:
"""Represents a detected event ready for notification dispatch.
@@ -2538,7 +2538,7 @@ class PollingCollector:
except Exception as e:
print(f"[PollingCollector] AI model check failed: {e}")
# ── Persistence helpers ──────────────────────────────<EFBFBD><EFBFBD>─────
# ── Persistence helpers ───────────────────────────────────
def _load_last_notified(self):
"""Load per-error notification timestamps from DB on startup."""