mirror of https://github.com/status-im/consul.git
parent
64e1501bda
commit
b94bbf7f43
|
@ -645,7 +645,6 @@ func (c *CheckTCP) Start() {
|
||||||
// Create the socket dialer
|
// Create the socket dialer
|
||||||
c.dialer = &net.Dialer{
|
c.dialer = &net.Dialer{
|
||||||
Timeout: 10 * time.Second,
|
Timeout: 10 * time.Second,
|
||||||
DualStack: true,
|
|
||||||
}
|
}
|
||||||
if c.Timeout > 0 {
|
if c.Timeout > 0 {
|
||||||
c.dialer.Timeout = c.Timeout
|
c.dialer.Timeout = c.Timeout
|
||||||
|
|
Loading…
Reference in New Issue