Unverified Commit 29b4de92 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #371 from ipfs/fix/dont-have-timing

Change timing for DONT_HAVE timeouts to be more conservative
parents f4b63eef 43284e90
......@@ -19,12 +19,12 @@ const (
// maxExpectedWantProcessTime is the maximum amount of time we expect a
// peer takes to process a want and initiate sending a response to us
maxExpectedWantProcessTime = 200 * time.Millisecond
maxExpectedWantProcessTime = 2 * time.Second
// latencyMultiplier is multiplied by the average ping time to
// get an upper bound on how long we expect to wait for a peer's response
// to arrive
latencyMultiplier = 2
latencyMultiplier = 3
)
// PeerConnection is a connection to a peer that can be pinged, and the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment