Skip to content

Commit

Permalink
removed rate value (#13409)
Browse files Browse the repository at this point in the history
Removed `rate` value from logs as it duplicates download or completion
rate
  • Loading branch information
dvovk authored Jan 16, 2025
1 parent a715eea commit 9c76900
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion erigon-lib/downloader/downloader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
Expand Down

0 comments on commit 9c76900

Please sign in to comment.