mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 21:50:05 +00:00
🔥 移除后台登录类型设置,增加调度失败计划任务提醒
This commit is contained in:
@@ -30,11 +30,6 @@ type NotificationHistory struct {
|
||||
func AlertSentinelStart() {
|
||||
alertsStore = make(map[uint64]map[uint64][][]interface{})
|
||||
alertsPrevState = make(map[uint64]map[uint64]uint)
|
||||
notificationsLock.Lock()
|
||||
if err := DB.Find(¬ifications).Error; err != nil {
|
||||
panic(err)
|
||||
}
|
||||
notificationsLock.Unlock()
|
||||
alertsLock.Lock()
|
||||
if err := DB.Find(&alerts).Error; err != nil {
|
||||
panic(err)
|
||||
|
||||
Reference in New Issue
Block a user