]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Make requestStrategy 3 the default
authorMatt Joiner <anacrolix@gmail.com>
Thu, 28 Jun 2018 02:06:21 +0000 (12:06 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Thu, 28 Jun 2018 02:06:21 +0000 (12:06 +1000)
Fixes #253.

client.go

index a8607feb6dc24cc75967b8af9124a9ad7489fa5f..327a0bd42f63bfad5bb0ee0b5236fe3c241a109d 100644 (file)
--- a/client.go
+++ b/client.go
@@ -971,7 +971,7 @@ func (cl *Client) newTorrent(ih metainfo.Hash, specStorage storage.ClientImpl) (
                maxEstablishedConns: cl.config.EstablishedConnsPerTorrent,
 
                networkingEnabled: true,
-               requestStrategy:   2,
+               requestStrategy:   3,
                metadataChanged: sync.Cond{
                        L: &cl.mu,
                },