Fix error in fail-fast doc (#1198)

This commit is contained in:
Bartosz Miller
2018-11-26 15:50:21 +01:00
committed by Ryan Baxter
parent 2b252ae4fa
commit 5c439e79b0

View File

@@ -1237,7 +1237,7 @@ If this is the desired behavior, set the bootstrap configuration property `sprin
=== Config Client Retry
If you expect that the config server may occasionally be unavailable when your application starts, you can make it keep trying after a failure.
First, you need to set `spring.cloud.config.fail-fast=true`.
First, you need to set `spring.cloud.config.fail-fast=false`.
Then you need to add `spring-retry` and `spring-boot-starter-aop` to your classpath.
The default behavior is to retry six times with an initial backoff interval of 1000ms and an exponential multiplier of 1.1 for subsequent backoffs.
You can configure these properties (and others) by setting the `spring.cloud.config.retry.*` configuration properties.