mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-02-24 06:23:15 +00:00
demote log spam to debug
This commit is contained in:
parent
eda69749ab
commit
7a3d0ca396
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user