1
This commit is contained in:
parent
ed4f91fb1a
commit
9aa9a8e438
@ -53,7 +53,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 *int64) bool {
|
ele.itemHash.Range(func (k1 string, ele2 *int64) bool {
|
||||||
GetSysLog().Info("%s.%s.%s maxIdx:%d lastIdx:%d",
|
GetSysLog().Info("%s.%s.%s maxIdx:%d lastIdx:%d",
|
||||||
@ -66,7 +66,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