Shorten dialerTimeout from 10s to 5s

This commit is contained in:
guessi 2020-05-10 16:11:37 +08:00
parent 7fcd8c4617
commit 90de2658f9

View File

@ -3,7 +3,7 @@ package main
import "time"
const (
dialerTimeout = 10 * time.Second
dialerTimeout = 5 * time.Second
defaultPort = 443
protocol = "tcp"
)