Add an extra retry since ODoH servers are currently unstable

This commit is contained in:
Frank Denis 2021-06-07 13:49:37 +02:00
parent f5a69c3bdc
commit 083fa0ad3c
1 changed files with 1 additions and 1 deletions

View File

@ -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