Merge pull request #2392 from Tecsisa/Fix_DNS_Cache_doc

Doc fix - allow_stale enabled by default in v0.7
pull/2325/merge
James Phillips 8 years ago committed by GitHub
commit b7755c44f3

@ -39,11 +39,10 @@ which must be set to enable stale reads, and
[`dns_config.max_stale`](/docs/agent/options.html#max_stale) [`dns_config.max_stale`](/docs/agent/options.html#max_stale)
which limits how stale results are allowed to be. which limits how stale results are allowed to be.
By default, [`allow_stale`](/docs/agent/options.html#allow_stale) is disabled, Starting from Consul 0.7, [`allow_stale`](/docs/agent/options.html#allow_stale)
meaning no stale results may be served. The default for is enabled by default, using a [`max_stale`](/docs/agent/options.html#max_stale)
[`max_stale`](/docs/agent/options.html#max_stale) is 5 seconds. This means that value that defaults to 5 seconds, meaning that we will use data from
if [`allow_stale`](/docs/agent/options.html#allow_stale) is enabled, we will use any Consul server that is within 5 seconds of the leader.
data from any Consul server that is within 5 seconds of the leader.
## Negative Response Caching ## Negative Response Caching

Loading…
Cancel
Save