Commit Graph

2 Commits

Author SHA1 Message Date
beorn7 1d6b6d6ea8 Fix go vet warnings 2016-06-17 15:10:16 +02:00
Fabian Reinartz a5c6b238c8 inhibit: reduce O(n^2) complexity problem
This change adds a inhibition cache. New alerts are checked against all
inhibition rules' source matchers. At notification time, we only have to
check the target matchers against the notified alerts. If there are
alerts in the source cache, we only have to verify the equal labels
against these.
2016-06-13 18:27:43 +02:00