From 16629056bf31fbb1ae2e573439eb2c831615cd43 Mon Sep 17 00:00:00 2001 From: Krish Date: Fri, 26 Jan 2024 21:20:27 +0800 Subject: [PATCH] debug: monitor queue len --- eth/downloader/fetchers_concurrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/downloader/fetchers_concurrent.go b/eth/downloader/fetchers_concurrent.go index 1d35b2e01a..854fe755c9 100644 --- a/eth/downloader/fetchers_concurrent.go +++ b/eth/downloader/fetchers_concurrent.go @@ -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)