mirror of
https://github.com/status-im/status-go.git
synced 2025-01-22 04:31:30 +00:00
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.
|
||||
func (peer *Peer) broadcast() error {
|
||||
+ 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
|
||||
+ }
|
||||
envelopes := peer.host.Envelopes()
|
||||
|
2
vendor/github.com/ethereum/go-ethereum/whisper/whisperv6/peer.go
generated
vendored
2
vendor/github.com/ethereum/go-ethereum/whisper/whisperv6/peer.go
generated
vendored
@ -188,7 +188,7 @@ func (peer *Peer) expire() {
|
||||
// ones over the network.
|
||||
func (peer *Peer) broadcast() error {
|
||||
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
|
||||
}
|
||||
envelopes := peer.host.Envelopes()
|
||||
|
Loading…
x
Reference in New Issue
Block a user