mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-24 16:03:43 +08:00
Merge pull request #11456 from zhaoxiangchun/automated-cherry-pick-of-#11454-upstream-release-3.7
Automated cherry pick of #11454: fix(monitor): exit monitor engine in time when happen err
This commit is contained in:
@@ -211,6 +211,9 @@ func (e *AlertEngine) processJob(attemptID int, attemptChan chan int, cancelChan
|
||||
attemptChan <- (attemptID + 1)
|
||||
return
|
||||
}
|
||||
log.Errorf("gt AlertingMaxAttempts, error: %v", evalContext.Error)
|
||||
close(attemptChan)
|
||||
return
|
||||
}
|
||||
|
||||
// create new context with timeout for notifications
|
||||
|
||||
Reference in New Issue
Block a user