🐛 fix: 通知延时|更新面板!
This commit is contained in:
parent
fa9da8b3b6
commit
3b66b6594c
@ -152,7 +152,7 @@ func checkStatus() {
|
||||
dao.Cache.Set(nID, NotificationHistory{
|
||||
Duration: firstNotificationDelay,
|
||||
Until: time.Now().Add(firstNotificationDelay),
|
||||
}, firstNotificationDelay)
|
||||
}, firstNotificationDelay+time.Minute*10)
|
||||
}
|
||||
if flag {
|
||||
message := fmt.Sprintf("逮到咯,快去看看!服务器:%s(%s),报警规则:%s,%s", server.Name, server.Host.IP, alert.Name, desc)
|
||||
|
Loading…
Reference in New Issue
Block a user