Add comment explaining Torrent.requestStrategy
This commit is contained in:
parent
ed7e3f6ec0
commit
696595a76e
|
@ -47,7 +47,11 @@ type Torrent struct {
|
|||
cl *Client
|
||||
|
||||
networkingEnabled bool
|
||||
requestStrategy int
|
||||
// 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
|
||||
infoHash metainfo.Hash
|
||||
|
|
Loading…
Reference in New Issue