1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

Merge pull request #4811 from ipfs/fix/4439

bitswap: reduce level when logging about disconnected peers to info
This commit is contained in:
Whyrusleeping
2018-03-22 23:29:40 -07:00
committed by GitHub

View File

@ -326,7 +326,7 @@ func (pm *WantManager) Run() {
for _, t := range ws.targets { for _, t := range ws.targets {
p, ok := pm.peers[t] p, ok := pm.peers[t]
if !ok { if !ok {
log.Warning("tried sending wantlist change to non-partner peer") log.Infof("tried sending wantlist change to non-partner peer: %s", t)
continue continue
} }
p.addMessage(ws.entries, ws.from) p.addMessage(ws.entries, ws.from)