From e25efedcc287a6c0bc59b3b809f259d1bd2ab455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20L=C3=B3pez=20G=C3=B3mez?= Date: Thu, 6 Oct 2016 15:00:28 +0200 Subject: [PATCH] Doc fix - allow_stale enabled by default in v0.7 --- website/source/docs/guides/dns-cache.html.markdown | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/website/source/docs/guides/dns-cache.html.markdown b/website/source/docs/guides/dns-cache.html.markdown index 87f0b3283c..641f8fe8ea 100644 --- a/website/source/docs/guides/dns-cache.html.markdown +++ b/website/source/docs/guides/dns-cache.html.markdown @@ -39,11 +39,10 @@ which must be set to enable stale reads, and [`dns_config.max_stale`](/docs/agent/options.html#max_stale) which limits how stale results are allowed to be. -By default, [`allow_stale`](/docs/agent/options.html#allow_stale) is disabled, -meaning no stale results may be served. The default for -[`max_stale`](/docs/agent/options.html#max_stale) is 5 seconds. This means that -if [`allow_stale`](/docs/agent/options.html#allow_stale) is enabled, we will use -data from any Consul server that is within 5 seconds of the leader. +Starting from Consul 0.7, [`allow_stale`](/docs/agent/options.html#allow_stale) +is enabled by default, using a [`max_stale`](/docs/agent/options.html#max_stale) +value that defaults to 5 seconds, meaning that we will use data from +any Consul server that is within 5 seconds of the leader. ## Negative Response Caching