set dialer timeout to 15 seconds

tls
fangdingjun 7 years ago
parent 4a182a8ef7
commit 3b9fb72ce3

@ -17,7 +17,7 @@ import (
"time"
)
var dialer = &net.Dialer{Timeout: 10 * time.Second}
var dialer = &net.Dialer{Timeout: 15 * time.Second}
func main() {
var configfile string

Loading…
Cancel
Save