mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-06 01:37:12 +01:00
Reduce delay
This commit is contained in:
parent
9e96bbc20b
commit
f5a69c3bdc
@ -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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user