From 7b1783bae8928c5fe2274875e4e81957796c1fde Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 29 Apr 2019 20:42:51 -0400 Subject: [PATCH] FIX: cache_critical_dns was never caching pg replica (#7461) * it's DISCOURSE_DB_REPLICA_HOST not DISCOURSE_DB_BACKUP_HOST --- script/cache_critical_dns | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/cache_critical_dns b/script/cache_critical_dns index 613a3c7b2b5..ce032c4ffd5 100755 --- a/script/cache_critical_dns +++ b/script/cache_critical_dns @@ -11,7 +11,7 @@ HOSTS_PATH = "/etc/hosts" CRITICAL_HOST_ENV_VARS = %w{ DISCOURSE_DB_HOST - DISCOURSE_DB_BACKUP_HOST + DISCOURSE_DB_REPLICA_HOST DISCOURSE_REDIS_HOST DISCOURSE_REDIS_SLAVE_HOST }