Skip to content

Commit

Permalink
eth/fetcher: downgrade stale txs log from warn to debug (#28364)
Browse files Browse the repository at this point in the history
  • Loading branch information
lightclient authored Oct 17, 2023
1 parent d782dc2 commit da55b23
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 da55b23

Please sign in to comment.