From 5c439e79b0ff25bddf615e986dbb6885b71cf312 Mon Sep 17 00:00:00 2001 From: Bartosz Miller Date: Mon, 26 Nov 2018 15:50:21 +0100 Subject: [PATCH] Fix error in fail-fast doc (#1198) --- docs/src/main/asciidoc/spring-cloud-config.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index aa830ba9..c5e08835 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -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.