Skip to content

Commit

Permalink
torrent: print peers amount in logs (#3942)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Apr 22, 2022
1 parent 7a226ef commit 0d6775f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eth/stagedsync/stage_headers.go
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,7 @@ Loop:
readiness := 100 * (float64(reply.BytesCompleted) / float64(reply.BytesTotal))
log.Info("[Snapshots] download", "progress", fmt.Sprintf("%.2f%%", readiness),
"download", libcommon.ByteCount(readBytesPerSec)+"/s",
"torrent_peers", reply.Peers,
// "upload", libcommon.ByteCount(writeBytesPerSec)+"/s",
)
prevBytesCompleted = reply.BytesCompleted
Expand Down

0 comments on commit 0d6775f

Please sign in to comment.