This commit is contained in:
aozhiwei 2024-07-23 16:04:12 +08:00
parent ed4f91fb1a
commit 9aa9a8e438

View File

@ -53,7 +53,7 @@ func (this *dbPool) init(style DBStyle) {
func (this *dbPool) outputMonitorLog() {
for {
if this.maxIdxMonitorProgHash.GetSize() > 0 {
GetSysLog().Info("-------------------------------------------------------------")
GetSysLog().Info("--------------------------------------------------------------------------------------")
this.maxIdxMonitorProgHash.Range(func (k string, ele *maxIdxMonitorProg) bool {
ele.itemHash.Range(func (k1 string, ele2 *int64) bool {
GetSysLog().Info("%s.%s.%s maxIdx:%d lastIdx:%d",
@ -66,7 +66,7 @@ func (this *dbPool) outputMonitorLog() {
})
return true
})
GetSysLog().Info("-------------------------------------------------------------")
GetSysLog().Info("---------------------------------------------------------------------------------------")
}
time.Sleep(time.Second * 10)
}