From 187de173962416f1fa06afe57ce9a963fc9072cb Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 20 Jan 2018 00:31:54 +0100 Subject: [PATCH] Don't prefetch more frequently than 1/min --- dnscrypt-proxy/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/main.go b/dnscrypt-proxy/main.go index 3ce255e46e..9425beccd2 100644 --- a/dnscrypt-proxy/main.go +++ b/dnscrypt-proxy/main.go @@ -194,7 +194,7 @@ func (proxy *Proxy) prefetcher(urlsToPrefetch *[]URLToPrefetch) { } } } - time.Sleep(5 * time.Second) + time.Sleep(60 * time.Second) } }() }