Changes to piece priority need to be published as a piece state change
This occurs because we're now able to deprioritize pieces after readers seek or close
This commit is contained in:
parent
63c73e18b3
commit
6942f3e6d5
|
@ -864,6 +864,7 @@ func (t *torrent) piecePriorityChanged(piece int) {
|
|||
c.updatePiecePriority(piece)
|
||||
}
|
||||
t.maybeNewConns()
|
||||
t.publishPieceChange(piece)
|
||||
}
|
||||
|
||||
func (t *torrent) updatePiecePriority(piece int) bool {
|
||||
|
|
Loading…
Reference in New Issue