Skip to content

Commit

Permalink
eth/fetcher: downgrade stale txs log from warn to debug (ethereum#28364)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient authored and devopsbo3 committed Nov 10, 2023
1 parent 0bceb02 commit f993744
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 @@ -363,7 +363,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 f993744

Please sign in to comment.