完整的信息输出
This commit is contained in:
parent
6dd44fff53
commit
ff7934e1c6
|
@ -119,9 +119,10 @@ func queueHandler(w http.ResponseWriter, r *http.Request) {
|
|||
return
|
||||
}
|
||||
|
||||
countPutPop.Use(func(item *CountPutPop) {
|
||||
item.PopCount++
|
||||
item.SelfCount[raddr.String()]++
|
||||
countPutPop.Use(func(citem *CountPutPop) {
|
||||
citem.PopCount++
|
||||
citem.SelfCount[raddr.String()]++
|
||||
log.Printf("all put %d, all pop %d source[%s] -> self[%s] pop %d\n", citem.PutCount, citem.PopCount, item.Source, raddr.String(), citem.SelfCount[raddr.String()])
|
||||
})
|
||||
logIntervalTimeHandler.Notify(countPutPop)
|
||||
// 打印消息
|
||||
|
|
Loading…
Reference in New Issue
Block a user