Skip to content

Commit

Permalink
go/p2p: Stop spamming logs with "peer already connected"
Browse files Browse the repository at this point in the history
  • Loading branch information
kostko committed Oct 12, 2023
1 parent c22ca3c commit 1d12295
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions go/p2p/peermgmt/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ func (c *peerConnector) connect(ctx context.Context, info peer.AddrInfo) bool {

// Skip if the peer is connected.
if c.host.Network().Connectedness(info.ID) == network.Connected {
c.logger.Debug("peer already connected",
"peer_id", info.ID,
)
return true
}

Expand Down

0 comments on commit 1d12295

Please sign in to comment.