Class GitHubDuplicateEventsMonitor.DuplicateEventsSubscriber

java.lang.Object
org.jenkinsci.plugins.github.extension.GHEventsSubscriber
org.jenkinsci.plugins.github.admin.GitHubDuplicateEventsMonitor.DuplicateEventsSubscriber
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
GitHubDuplicateEventsMonitor

@Extension public static final class GitHubDuplicateEventsMonitor.DuplicateEventsSubscriber extends GHEventsSubscriber
Tracks duplicate GHEvent triggering actions in Jenkins. Events are tracked for 10 minutes, with the last detected duplicate reference retained for up to 24 hours (see isDuplicateEventSeen()).

Duplicates are stored in-memory only, so a controller restart clears all entries as if none existed. Persistent storage is omitted for simplicity, since webhook misconfigurations would likely cause new duplicates.