Bump the netprobe timeout up to 60 seconds
This commit is contained in:
parent
68ff5d2205
commit
c52b3ef124
|
@ -106,7 +106,7 @@ func newConfig() Config {
|
|||
TLSDisableSessionTickets: false,
|
||||
TLSCipherSuite: nil,
|
||||
NetprobeAddress: "9.9.9.9:53",
|
||||
NetprobeTimeout: 30,
|
||||
NetprobeTimeout: 60,
|
||||
OfflineMode: false,
|
||||
}
|
||||
}
|
||||
|
@ -192,7 +192,7 @@ func ConfigLoad(proxy *Proxy, svcFlag *string) error {
|
|||
check := flag.Bool("check", false, "check the configuration file and exit")
|
||||
configFile := flag.String("config", DefaultConfigFileName, "Path to the configuration file")
|
||||
child := flag.Bool("child", false, "Invokes program as a child process")
|
||||
netprobeTimeoutOverride := flag.Int("netprobe-timeout", 30, "Override the netprobe timeout")
|
||||
netprobeTimeoutOverride := flag.Int("netprobe-timeout", 60, "Override the netprobe timeout")
|
||||
|
||||
flag.Parse()
|
||||
|
||||
|
|
|
@ -190,7 +190,7 @@ ignore_system_dns = false
|
|||
## connectivity is not guaranteed to be immediately available.
|
||||
## Use 0 to disable.
|
||||
|
||||
netprobe_timeout = 30
|
||||
netprobe_timeout = 60
|
||||
|
||||
|
||||
## Offline mode - Do not use any remote encrypted servers.
|
||||
|
|
Loading…
Reference in New Issue