Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Prev Previous commit
Next Next commit
Increase peer disconnectedTimeout to reduce flakes on slow machines
  • Loading branch information
kylecarbs committed Jan 13, 2022
commit 028a721a81ad74bb87c3a88997550121c44ee118
2 changes: 1 addition & 1 deletion peer/conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

const (
disconnectedTimeout = time.Millisecond * 200
disconnectedTimeout = time.Second
failedTimeout = disconnectedTimeout * 5
keepAliveInterval = time.Millisecond * 2
)
Expand Down