File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const (
28
28
// selected one is slow or not responding.
29
29
// Dynamic timeout, in our case, can be treated as optimization allowing to move on a next peer faster.
30
30
// See simulateDontHaveConfig for more details.
31
- simulateDontHaves = true
31
+ simulateDontHaves = false
32
32
// broadcastDelay defines the initial delay before Bitswap client starts aggressive
33
33
// broadcasting of live WANTs to all the peers. We offset this for longer than the default to minimize
34
34
// unnecessary broadcasting as in most cases we already have peers connected with needed data on
@@ -81,7 +81,7 @@ const (
81
81
// This relies on latency to determine when to simulate a DONT_HAVE from a peer.
82
82
var simulateDontHaveConfig = & client.DontHaveTimeoutConfig {
83
83
// MaxTimeout is the limit cutoff time for the dynamic timeout estimation.
84
- MaxTimeout : 30 * time .Second ,
84
+ MaxTimeout : 120 * time .Second ,
85
85
// MinTimeout is the minimum timeout for the dynamic timeout estimation.
86
86
MinTimeout : 1 * time .Second ,
87
87
// MessageLatencyMultiplier is the multiplier for the message latency to account for errors
You can’t perform that action at this time.
0 commit comments