Skip to content

A platform for community discussion. Free, open, simple.

FIX: remove refresh seconds override on cache_critical_dns (#16572)

Michael Fitz-Payne1acc4751ff33
diff --git a/script/cache_critical_dns b/script/cache_critical_dns
index f496230e7ec..a0307781a7d 100755
--- a/script/cache_critical_dns
+++ b/script/cache_critical_dns
@@ -23,7 +23,7 @@ CRITICAL_HOST_ENV_VARS = %w{
HOST_RESOLVER_CACHE = {}
HOST_HEALTHY_CACHE = {}
HOSTS_PATH = ENV['DISCOURSE_DNS_CACHE_HOSTS_FILE'] || "/etc/hosts"
-REFRESH_SECONDS = ENV['DISCOURSE_DNS_CACHE_REFRESH_SECONDS'].to_i || 30
+REFRESH_SECONDS = 30
module DNSClient
def dns_client_with_timeout