Skip to content

Commit

Permalink
upp printing
Browse files Browse the repository at this point in the history
  • Loading branch information
mh0lt committed Jun 8, 2024
1 parent 8432fb6 commit 7660638
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions torrent.go
Original file line number Diff line number Diff line change
Expand Up @@ -1593,9 +1593,13 @@ func (t *Torrent) updatePiecePriorityNoTriggers(piece pieceIndex, lock bool) (pe
}

func (t *Torrent) updatePiecePriority(piece pieceIndex, reason string, lock bool) {
fmt.Println("UPP0", reason)
defer fmt.Println("UPP", "DONE")
if t.updatePiecePriorityNoTriggers(piece, lock) && !t.disableTriggers {
fmt.Println("UPP1")
t.onPiecePendingTriggers(piece, reason, lock)
}
fmt.Println("UPP2")
t.updatePieceRequestOrderPiece(piece, lock)
}

Expand Down

0 comments on commit 7660638

Please sign in to comment.