]> Sergey Matveev's repositories - btrtrc.git/commitdiff
Revert "Make requestStrategy 3 the default"
authorMatt Joiner <anacrolix@gmail.com>
Sat, 25 Aug 2018 06:43:28 +0000 (16:43 +1000)
committerMatt Joiner <anacrolix@gmail.com>
Sat, 25 Aug 2018 06:43:28 +0000 (16:43 +1000)
This reverts commit 60dd0eed538361490cbf29a1734e6cd8d21f794f.

client.go

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