3c981a92f7
Add version tracking of silences states. Adding a silence to the state increments the version. If the version hasn't changed since the last time an alert was checked for being silenced, we only have to verify that the relevant silences are still active rather than checking the alert against all silences. Signed-off-by: beorn7 <beorn@soundcloud.com> |
||
---|---|---|
.. | ||
match.go | ||
match_test.go | ||
types.go | ||
types_test.go |