Change the duplicateRequestTimeout to 1s
This commit is contained in:
parent
15f3c822c5
commit
5f20a21c9d
|
@ -975,7 +975,7 @@ func (cl *Client) newTorrent(ih metainfo.Hash, specStorage storage.ClientImpl) (
|
|||
metadataChanged: sync.Cond{
|
||||
L: &cl.mu,
|
||||
},
|
||||
duplicateRequestTimeout: 15 * time.Second,
|
||||
duplicateRequestTimeout: 1 * time.Second,
|
||||
}
|
||||
t.logger = cl.logger.Clone().AddValue(t)
|
||||
t.setChunkSize(defaultChunkSize)
|
||||
|
|
Loading…
Reference in New Issue