set dialer timeout to 15 seconds

tls
fangdingjun 7 years ago
parent 4a182a8ef7
commit 3b9fb72ce3

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

Loading…
Cancel
Save