Skip to content

Commit

Permalink
demote log spam to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vyzo committed Apr 1, 2021
1 parent eda6974 commit 7a3d0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pubsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ func (p *PubSub) processLoop(ctx context.Context) {
if p.host.Network().Connectedness(pid) == network.Connected {
// still connected, must be a duplicate connection being closed.
// we respawn the writer as we need to ensure there is a stream active
log.Warn("peer declared dead but still connected; respawning writer: ", pid)
log.Debugf("peer declared dead but still connected; respawning writer: %s", pid)
messages := make(chan *RPC, p.peerOutboundQueueSize)
messages <- p.getHelloPacket()
go p.handleNewPeer(ctx, pid, messages)
Expand Down

0 comments on commit 7a3d0ca

Please sign in to comment.