Whisper broadcast loop spams way too hard with debug level
This commit is contained in:
parent
5aae87aba8
commit
ca962ddaa3
|
@ -111,7 +111,7 @@ index 427127290..c30e92d1c 100644
|
||||||
// ones over the network.
|
// ones over the network.
|
||||||
func (peer *Peer) broadcast() error {
|
func (peer *Peer) broadcast() error {
|
||||||
+ if peer.peer.IsFlaky() {
|
+ if peer.peer.IsFlaky() {
|
||||||
+ log.Debug("Waiting for a peer to restore communication", "ID", peer.peer.ID())
|
+ log.Trace("Waiting for a peer to restore communication", "ID", peer.peer.ID())
|
||||||
+ return nil
|
+ return nil
|
||||||
+ }
|
+ }
|
||||||
envelopes := peer.host.Envelopes()
|
envelopes := peer.host.Envelopes()
|
||||||
|
|
|
@ -188,7 +188,7 @@ func (peer *Peer) expire() {
|
||||||
// ones over the network.
|
// ones over the network.
|
||||||
func (peer *Peer) broadcast() error {
|
func (peer *Peer) broadcast() error {
|
||||||
if peer.peer.IsFlaky() {
|
if peer.peer.IsFlaky() {
|
||||||
log.Debug("Waiting for a peer to restore communication", "ID", peer.peer.ID())
|
log.Trace("Waiting for a peer to restore communication", "ID", peer.peer.ID())
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
envelopes := peer.host.Envelopes()
|
envelopes := peer.host.Envelopes()
|
||||||
|
|
Loading…
Reference in New Issue