作者 tangxvhui

调整检查间隔

@@ -25,7 +25,7 @@ type notifySms struct { @@ -25,7 +25,7 @@ type notifySms struct {
25 25
26 func (notices *notifySms) init() { 26 func (notices *notifySms) init() {
27 notices.newSms = make(chan *domain.LogSms, 50) 27 notices.newSms = make(chan *domain.LogSms, 50)
28 - notices.interval = 10 * time.Minute 28 + notices.interval = 5 * time.Minute
29 if constant.Env != "prd" { 29 if constant.Env != "prd" {
30 notices.interval = 1 * time.Minute 30 notices.interval = 1 * time.Minute
31 } 31 }