FedP2P/torrent-piece-request-order.go

8 lines
217 B
Go
Raw Normal View History

package torrent
func (t *Torrent) updatePieceRequestOrder(pieceIndex int) {
t.cl.pieceRequestOrder[t.storage.Capacity].Update(
t.pieceRequestOrderKey(pieceIndex),
t.requestStrategyPieceOrderState(pieceIndex))
}