提交 2e63993b 编写于 作者: U UlricQin

fix

上级 b482c7a0
......@@ -344,7 +344,7 @@ func (r RuleEval) recoverRule(alertingKeys map[string]struct{}, now int64) {
}
// 如果配置了留观时长,就不能立马恢复了
if r.rule.RecoverDuration > 0 && now-event.LastEvalTime > r.rule.RecoverDuration {
if r.rule.RecoverDuration > 0 && now-event.LastEvalTime <= r.rule.RecoverDuration {
continue
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册