Skip to content

Commit

Permalink
add ph trace
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed May 31, 2024
1 parent 60786b2 commit 4c8fb9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -2162,6 +2162,8 @@ func (t *Torrent) SetMaxEstablishedConns(max int) (oldMax int) {
}

func (t *Torrent) pieceHashed(piece pieceIndex, passed bool, hashIoErr error) {
fmt.Println("PH0")
fmt.Println("PH Done")
t.logger.LazyLog(log.Debug, func() log.Msg {
return log.Fstr("hashed piece %d (passed=%t)", piece, passed)
})
Expand Down

0 comments on commit 4c8fb9a

Please sign in to comment.