mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 15:16:43 +00:00
downgrade from error to warn
This commit is contained in:
parent
141968a48b
commit
72793d67d6
1 changed files with 1 additions and 1 deletions
|
|
@ -254,7 +254,7 @@ func (d *Downloader) concurrentFetch(queue typedQueue) error {
|
||||||
// timeout firing for a non-existent event.
|
// timeout firing for a non-existent event.
|
||||||
req, exp := timeouts.Peek()
|
req, exp := timeouts.Peek()
|
||||||
if now, at := time.Now(), time.Unix(0, -exp); now.Before(at) {
|
if now, at := time.Now(), time.Unix(0, -exp); now.Before(at) {
|
||||||
log.Error("Timeout triggered but not reached", "left", at.Sub(now))
|
log.Warn("Timeout triggered but not reached", "left", at.Sub(now))
|
||||||
timeout.Reset(at.Sub(now))
|
timeout.Reset(at.Sub(now))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue