mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 03:30:37 +00:00
Fixup bittorrent/webseed download logs after refactoring (#8976)
After a refactoring, the detailed bittorrent vs webseeds log has disappeared
This commit is contained in:
parent
4e83ef0ef5
commit
58dabdc601
@ -375,7 +375,7 @@ func (d *Downloader) ReCalcStats(interval time.Duration) {
|
||||
|
||||
d.logger.Log(d.verbosity, "[snapshots] progress", "file", t.Name(), "progress", fmt.Sprintf("%.2f%%", progress), "peers", len(peersOfThisFile), "webseeds", len(weebseedPeersOfThisFile))
|
||||
isDiagEnabled := diagnostics.TypeOf(diagnostics.SegmentDownloadStatistics{}).Enabled()
|
||||
if d.verbosity < log.LvlInfo || isDiagEnabled {
|
||||
if d.verbosity >= log.LvlInfo || isDiagEnabled {
|
||||
|
||||
// more detailed statistic: download rate of each peer (for each file)
|
||||
websRates := uint64(0)
|
||||
|
Loading…
Reference in New Issue
Block a user