downgrade from error to warn

This commit is contained in:
GarmashAlex 2025-03-28 13:20:05 +03:00 committed by GitHub
parent 141968a48b
commit 72793d67d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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