Reduce test logs (#2550)

This commit is contained in:
Maycon Santos
2024-09-06 16:28:19 +02:00
committed by GitHub
parent fcf150f704
commit a7e46bf7b1
3 changed files with 33 additions and 27 deletions

View File

@ -55,7 +55,7 @@ func (p *PeersUpdateManager) SendUpdate(ctx context.Context, peerID string, upda
log.WithContext(ctx).Debugf("update was sent to channel for peer %s", peerID)
default:
dropped = true
log.WithContext(ctx).Warnf("channel for peer %s is %d full", peerID, len(channel))
log.WithContext(ctx).Warnf("channel for peer %s is %d full or closed", peerID, len(channel))
}
} else {
log.WithContext(ctx).Debugf("peer %s has no channel", peerID)