This commit is contained in:
aozhiwei 2024-07-23 16:21:40 +08:00
parent 7e388eeeef
commit 31e33a0e2d

View File

@ -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)
} }