mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-01 22:02:55 +00:00
eth/fetcher: downgrade stale txs log from warn to debug (#28364)
This commit is contained in:
parent
d782dc2341
commit
da55b23d21
1 changed files with 1 additions and 1 deletions
|
|
@ -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 'other reject' is >25% of the deliveries in any batch, sleep a bit.
|
||||||
if otherreject > 128/4 {
|
if otherreject > 128/4 {
|
||||||
time.Sleep(200 * time.Millisecond)
|
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 {
|
select {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue