fix: deduplicate TLS expiry warnings to prevent notification spam (closes #18) #22
Reference in New Issue
Block a user
Delete Branch "fix/tls-expiry-dedup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
checkTLSExpiry fired every monitoring cycle. Added in-memory dedup map tracking last notification time per domain/IP, suppressing re-notification within the TLS check interval.
Added TestTLSExpiryWarningDedup.
make check passes.
✅ Code Review: APPROVED — TLS expiry warning dedup with mutex. Prevents notification spam within check interval. Well-tested.