failFast should be set in bootstrap.yml

This commit is contained in:
Spencer Gibb
2016-02-26 10:05:35 -07:00
parent 2212b9e31a
commit 9ae832f643

View File

@@ -188,7 +188,7 @@ You can change the data key using `spring.cloud.consul.config.data-key`.
[[spring-cloud-consul-failfast]]
== Fail Fast
It may be convenient in certain circumstances (like local development or certain test scenarios) to not fail if consul isn't available for configuration. Setting `spring.cloud.consul.config.failFast=false` will cause the configuration module to log a warning rather than throw an exception. This will allow the application to continue startup normally.
It may be convenient in certain circumstances (like local development or certain test scenarios) to not fail if consul isn't available for configuration. Setting `spring.cloud.consul.config.failFast=false` in `bootstrap.yml` will cause the configuration module to log a warning rather than throw an exception. This will allow the application to continue startup normally.
[[spring-cloud-consul-retry]]
== Consul Retry