Add comment explaining Torrent.requestStrategy
This commit is contained in:
parent
ed7e3f6ec0
commit
696595a76e
|
@ -47,6 +47,10 @@ type Torrent struct {
|
|||
cl *Client
|
||||
|
||||
networkingEnabled bool
|
||||
// Determines what chunks to request from peers. 1: Favour higher priority
|
||||
// pieces with some fuzzing to reduce overlaps and wastage across
|
||||
// connections. 2: The fastest connection downloads strictly in order of
|
||||
// priority, while all others adher to their piece inclications.
|
||||
requestStrategy int
|
||||
|
||||
closed missinggo.Event
|
||||
|
|
Loading…
Reference in New Issue