Skip to content

Commit

Permalink
debug: monitor queue len
Browse files Browse the repository at this point in the history
  • Loading branch information
krish-nr committed Jan 26, 2024
1 parent 991cae3 commit 1662905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/downloader/fetchers_concurrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func (d *Downloader) concurrentFetch(queue typedQueue, beaconMode bool) error {
log.Warn("All idle peers are not valid for current task, will retry ...")
requestRetried++
if requestRetried > maxRetries {
log.Info("max retry exceeded, cancel request")
log.Info("max retry exceeded, cancel request", "queue len", queued)
return errCanceled
}
time.Sleep(peersRetryInterval)
Expand Down

0 comments on commit 1662905

Please sign in to comment.