From f5a69c3bdc9b0b2d97988ad574dc1ed058f81a06 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Mon, 7 Jun 2021 13:46:44 +0200 Subject: [PATCH] Reduce delay --- dnscrypt-proxy/serversInfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/serversInfo.go b/dnscrypt-proxy/serversInfo.go index b0d8669f..2b731bec 100644 --- a/dnscrypt-proxy/serversInfo.go +++ b/dnscrypt-proxy/serversInfo.go @@ -706,7 +706,7 @@ func _fetchODoHTargetInfo(proxy *Proxy, name string, stamp stamps.ServerStamp, i dlog.Warnf("No ODoH relay defined for [%v]", name) } else { dlog.Debugf("Pausing after ODoH configuration retrieval") - delay := time.Duration(rand.Intn(10*1000)) * time.Millisecond + delay := time.Duration(rand.Intn(5*1000)) * time.Millisecond clocksmith.Sleep(time.Duration(delay)) dlog.Debugf("Pausing done") }