Merge pull request #2513 from filecoin-project/fix/debug-statmt-peermgr
change debug to debugf
This commit is contained in:
commit
03b2a40e15
@ -132,7 +132,7 @@ func (pmgr *PeerMgr) Run(ctx context.Context) {
|
||||
if pcount < pmgr.minFilPeers {
|
||||
pmgr.expandPeers()
|
||||
} else if pcount > pmgr.maxFilPeers {
|
||||
log.Debug("peer count about threshold: %d > %d", pcount, pmgr.maxFilPeers)
|
||||
log.Debugf("peer count about threshold: %d > %d", pcount, pmgr.maxFilPeers)
|
||||
}
|
||||
stats.Record(ctx, metrics.PeerCount.M(int64(pmgr.getPeerCount())))
|
||||
case <-pmgr.done:
|
||||
|
Loading…
Reference in New Issue
Block a user