From 9c769000f077dd966a28bf72e6f5969f765d1031 Mon Sep 17 00:00:00 2001 From: Dmytro Vovk Date: Thu, 16 Jan 2025 16:05:22 +0000 Subject: [PATCH] removed rate value (#13409) Removed `rate` value from logs as it duplicates download or completion rate --- erigon-lib/downloader/downloader.go | 1 - 1 file changed, 1 deletion(-) diff --git a/erigon-lib/downloader/downloader.go b/erigon-lib/downloader/downloader.go index ed1cac77c20..3bfcd7dd98b 100644 --- a/erigon-lib/downloader/downloader.go +++ b/erigon-lib/downloader/downloader.go @@ -2897,7 +2897,6 @@ func (d *Downloader) logProgress() { if !d.stats.Completed { log.Info(fmt.Sprintf("[%s] %s", prefix, status), "progress", fmt.Sprintf("(%d/%d files) %.2f%% - %s/%s", d.stats.MetadataReady, d.stats.FilesTotal, percentDone, common.ByteCount(bytesDone), common.ByteCount(d.stats.BytesTotal)), - "rate", fmt.Sprintf("%s/s", common.ByteCount(rate)), "time-left", timeLeft, "total-time", time.Since(d.startTime).Round(time.Second).String(), "download-rate", fmt.Sprintf("%s/s", common.ByteCount(d.stats.DownloadRate)),