From: Matt Joiner Date: Thu, 28 Jun 2018 02:06:21 +0000 (+1000) Subject: Make requestStrategy 3 the default X-Git-Tag: v1.0.0~111 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=60dd0eed538361490cbf29a1734e6cd8d21f794f;p=btrtrc.git Make requestStrategy 3 the default Fixes #253. --- diff --git a/client.go b/client.go index a8607feb..327a0bd4 100644 --- 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, },