mirror of
https://github.com/status-im/consul.git
synced 2025-02-12 13:46:46 +00:00
parent
64e1501bda
commit
b94bbf7f43
@ -644,8 +644,7 @@ func (c *CheckTCP) Start() {
|
||||
if c.dialer == nil {
|
||||
// Create the socket dialer
|
||||
c.dialer = &net.Dialer{
|
||||
Timeout: 10 * time.Second,
|
||||
DualStack: true,
|
||||
Timeout: 10 * time.Second,
|
||||
}
|
||||
if c.Timeout > 0 {
|
||||
c.dialer.Timeout = c.Timeout
|
||||
|
Loading…
x
Reference in New Issue
Block a user