MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / initAlertTask

Function initAlertTask

agent/init/hook/hook.go:172–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

170}
171
172func initAlertTask() {
173 service.NewIAlertTaskHelper().ResetTask()
174}
175
176func initMonitorDB() {
177 _ = global.MonitorDB.AutoMigrate(&model.MonitorBase{}, &model.MonitorNetwork{}, &model.MonitorGPU{}, &model.MonitorIO{})

Callers 1

InitFunction · 0.85

Calls 1

ResetTaskMethod · 0.65

Tested by

no test coverage detected