1
This commit is contained in:
parent
a0207cd71e
commit
8c9bb7b4fb
@ -25,7 +25,7 @@ func (this* sysMail) init() {
|
|||||||
},
|
},
|
||||||
func (err error, ds *f5.DataSet) {
|
func (err error, ds *f5.DataSet) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(fmt.Sprintf("taskMgr init err:%s", err))
|
panic(fmt.Sprintf("sysMail init err:%s", err))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if ds.Next() {
|
if ds.Next() {
|
||||||
@ -55,9 +55,9 @@ func (this *sysMail) syncSysMail() {
|
|||||||
this.syncSysMailCond.L.Lock()
|
this.syncSysMailCond.L.Lock()
|
||||||
this.syncSysMailCond.Wait()
|
this.syncSysMailCond.Wait()
|
||||||
this.syncSysMailCond.L.Unlock()
|
this.syncSysMailCond.L.Unlock()
|
||||||
if q5.GetTickCount() - lastOutTick > 15 {
|
if q5.GetTickCount() - lastOutTick > 1000 * 15 {
|
||||||
lastOutTick = q5.GetTickCount()
|
lastOutTick = q5.GetTickCount()
|
||||||
f5.GetSysLog().Info("taskMgr lastSyncSysMailIdx:%s", this.lastSyncSysMailIdx)
|
f5.GetSysLog().Info("sysMail lastSyncSysMailIdx:%d", this.lastSyncSysMailIdx)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user