mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
clean logs
This commit is contained in:
parent
26a8c3c571
commit
9bdcecfec4
@ -1680,7 +1680,7 @@ func (p *TxPool) logStats() {
|
|||||||
if cacheKeys > 0 {
|
if cacheKeys > 0 {
|
||||||
ctx = append(ctx, "cache_keys", cacheKeys)
|
ctx = append(ctx, "cache_keys", cacheKeys)
|
||||||
}
|
}
|
||||||
ctx = append(ctx, "alloc_mb", m.Alloc/1024/1024, "sys_mb", m.Sys/1024/1024)
|
ctx = append(ctx, "alloc", common.ByteCount(m.Alloc), "sys", common.ByteCount(m.Sys))
|
||||||
log.Info("[txpool] stat", ctx...)
|
log.Info("[txpool] stat", ctx...)
|
||||||
//if ASSERT {
|
//if ASSERT {
|
||||||
//stats := kvcache.DebugStats(p.senders.cache)
|
//stats := kvcache.DebugStats(p.senders.cache)
|
||||||
|
Loading…
Reference in New Issue
Block a user