From e041d87b5af62ad92b2f5e6665ce33ec97f3cf24 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Wed, 5 Apr 2017 13:44:42 -0400 Subject: [PATCH] Document Hystrix timeout configuration with Ribbon clients. Fixes #1828 --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index b3e72e63..e26b1ae3 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -605,6 +605,14 @@ One of the main benefits of Hystrix is the set of metrics it gathers about each .Hystrix Dashboard image::Hystrix.png[] +== Hystrix Timeouts And Ribbon Clients + +When using Hystrix commands that wrap Ribbon clients you want to make sure your Hystrix timeout +is configured to be longer than the configured Ribbon timeout, including any potential +retries that might be made. For example, if your Ribbon connection timeout is one second and +the Ribbon client might retry the request three times, than your Hystrix timeout should +be slightly more than three seconds. + [[netflix-hystrix-dashboard-starter]] === How to Include Hystrix Dashboard