mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-06 14:47:35 +03:00
Add an extra retry since ODoH servers are currently unstable
This commit is contained in:
parent
f5a69c3bdc
commit
083fa0ad3c
1 changed files with 1 additions and 1 deletions
|
@ -835,7 +835,7 @@ func _fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, i
|
|||
func fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, isNew bool) (ServerInfo, error) {
|
||||
var err error
|
||||
var serverInfo ServerInfo
|
||||
for i := 0; i < 2; i += 1 {
|
||||
for i := 0; i < 3; i += 1 {
|
||||
serverInfo, err = _fetchODoHTargetInfo(proxy, name, stamp, isNew)
|
||||
if err == nil {
|
||||
break
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue