Skip to content

Commit

Permalink
eth/fetcher: downgrade state tx log (#2195)
Browse files Browse the repository at this point in the history
  • Loading branch information
weiihann authored Feb 2, 2024
1 parent 82beb2c commit 78d1cad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/fetcher/tx_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ func (f *TxFetcher) Enqueue(peer string, txs []*types.Transaction, direct bool)
// If 'other reject' is >25% of the deliveries in any batch, sleep a bit.
if otherreject > 128/4 {
time.Sleep(200 * time.Millisecond)
log.Warn("Peer delivering stale transactions", "peer", peer, "rejected", otherreject)
log.Debug("Peer delivering stale transactions", "peer", peer, "rejected", otherreject)
}
}
select {
Expand Down

0 comments on commit 78d1cad

Please sign in to comment.