Skip to content

Commit

Permalink
set default for seenRpkiValidAnnouncements
Browse files Browse the repository at this point in the history
  • Loading branch information
massimocandela committed Mar 6, 2024
1 parent bf83bfd commit cf963f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/monitors/monitorRPKI.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default class MonitorRPKI extends Monitor {

this.thresholdMinPeers = (params && params.thresholdMinPeers != null) ? params.thresholdMinPeers : 1;
this.seenRpkiValidAnnouncementsKey = "seen-rpki-valid-announcements";
this.seenRpkiValidAnnouncements = {};

this.storage // Reload the previously discovered ROAs (needed to alert in case of disappearing ROAs)
.get(this.seenRpkiValidAnnouncementsKey)
Expand Down

0 comments on commit cf963f6

Please sign in to comment.