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
commit 1be6513c21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -326,7 +326,7 @@ func (pm *WantManager) Run() {
for _, t := range ws.targets {
p, ok := pm.peers[t]
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
}
p.addMessage(ws.entries, ws.from)