Include pending cancel count in peer status
This commit is contained in:
parent
aca3924c5e
commit
2f01dbab80
|
@ -366,13 +366,14 @@ func (cn *Peer) writeStatus(w io.Writer, t *Torrent) {
|
|||
cn.totalExpectingTime(),
|
||||
)
|
||||
fmt.Fprintf(w,
|
||||
" %s completed, %d pieces touched, good chunks: %v/%v-%v reqq: %d/(%d/%d)-%d/%d, flags: %s, dr: %.1f KiB/s\n",
|
||||
" %s completed, %d pieces touched, good chunks: %v/%v:%v reqq: %d-%v/(%d/%d):%d/%d, flags: %s, dr: %.1f KiB/s\n",
|
||||
cn.completedString(),
|
||||
len(cn.peerTouchedPieces),
|
||||
&cn._stats.ChunksReadUseful,
|
||||
&cn._stats.ChunksRead,
|
||||
&cn._stats.ChunksWritten,
|
||||
cn.actualRequestState.Requests.GetCardinality(),
|
||||
cn.cancelledRequests.GetCardinality(),
|
||||
cn.nominalMaxRequests(),
|
||||
cn.PeerMaxRequests,
|
||||
len(cn.peerRequests),
|
||||
|
|
Loading…
Reference in New Issue