1
This commit is contained in:
parent
7e388eeeef
commit
31e33a0e2d
@ -61,7 +61,7 @@ func (this *dbPool) init(style DBStyle) {
|
|||||||
func (this *dbPool) outputMonitorLog() {
|
func (this *dbPool) outputMonitorLog() {
|
||||||
for {
|
for {
|
||||||
if this.maxIdxMonitorProgHash.GetSize() > 0 {
|
if this.maxIdxMonitorProgHash.GetSize() > 0 {
|
||||||
GetSysLog().Info("--------------------------------------------------------------------------------------")
|
GetSysLog().Info("<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<")
|
||||||
this.maxIdxMonitorProgHash.Range(func (k string, ele *maxIdxMonitorProg) bool {
|
this.maxIdxMonitorProgHash.Range(func (k string, ele *maxIdxMonitorProg) bool {
|
||||||
ele.itemHash.Range(func (k1 string, ele2 *maxIdxMonitorProgItem) bool {
|
ele.itemHash.Range(func (k1 string, ele2 *maxIdxMonitorProgItem) bool {
|
||||||
GetSysLog().Info("%s.%s.%s maxIdx:%d lastIdx:%d exec:%d ok:%d err:%d abort:%d",
|
GetSysLog().Info("%s.%s.%s maxIdx:%d lastIdx:%d exec:%d ok:%d err:%d abort:%d",
|
||||||
@ -78,7 +78,7 @@ func (this *dbPool) outputMonitorLog() {
|
|||||||
})
|
})
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
GetSysLog().Info("---------------------------------------------------------------------------------------")
|
GetSysLog().Info(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>")
|
||||||
}
|
}
|
||||||
time.Sleep(time.Second * 10)
|
time.Sleep(time.Second * 10)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user