Commit c52b3ef1 authored by Frank Denis's avatar Frank Denis

Bump the netprobe timeout up to 60 seconds

parent 68ff5d22
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment