eth/fetcher: downgrade stale txs log from warn to debug

This commit is contained in:
lightclient 2023-10-17 08:22:13 -06:00
parent d782dc2341
commit a96aee8515
No known key found for this signature in database
GPG key ID: 75C916AFEE20183E

View file

@ -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 {