Skip to content

Commit

Permalink
we keep hitting the min, so reducing
Browse files Browse the repository at this point in the history
  • Loading branch information
myleshorton committed Mar 18, 2016
1 parent 88f6535 commit 7e27c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github.com/getlantern/tlsdialer/tlsdialer_test.go
Expand Up @@ -226,7 +226,7 @@ func TestVariableTimeouts(t *testing.T) {
// The 1000-5000 microseconds limits are arbitrary. In some systems this may be too low/high.
// The algorithm will try to adapt if connections succeed and will lower the current limit,
// but it won't be allowed to timeout below the established lower boundary.
timeoutMin := 1000
timeoutMin := 500
timeoutMax := 5000
for i := 0; i < 500; i++ {
timeout := rand.Intn(timeoutMax) + 1
Expand Down

0 comments on commit 7e27c00

Please sign in to comment.