mirror of
https://github.com/fluencelabs/go-libp2p-kad-dht
synced 2025-04-25 06:42:13 +00:00
drop error log down to debug
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
parent
440f66f1c8
commit
bc9ceab87e
2
query.go
2
query.go
@ -229,7 +229,7 @@ func (r *dhtQueryRunner) queryPeer(proc process.Process, p peer.ID) {
|
|||||||
// make sure we're connected to the peer.
|
// make sure we're connected to the peer.
|
||||||
// FIXME abstract away into the network layer
|
// FIXME abstract away into the network layer
|
||||||
if conns := r.query.dht.host.Network().ConnsToPeer(p); len(conns) == 0 {
|
if conns := r.query.dht.host.Network().ConnsToPeer(p); len(conns) == 0 {
|
||||||
log.Error("not connected. dialing.")
|
log.Debug("not connected. dialing.")
|
||||||
|
|
||||||
notif.PublishQueryEvent(r.runCtx, ¬if.QueryEvent{
|
notif.PublishQueryEvent(r.runCtx, ¬if.QueryEvent{
|
||||||
Type: notif.DialingPeer,
|
Type: notif.DialingPeer,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user