From fbb263e6de016b618b39549a6a2f1735d8263185 Mon Sep 17 00:00:00 2001 From: Lin Sun Date: Fri, 21 Aug 2020 17:08:42 -0400 Subject: [PATCH] clarify request timeout default (#7983) * clarify request timeout default * fix lint * update timeout * upper case http * Update content/en/docs/concepts/traffic-management/index.md Co-authored-by: Frank Budinsky --- content/en/docs/concepts/traffic-management/index.md | 3 +-- .../docs/tasks/traffic-management/request-timeouts/index.md | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/content/en/docs/concepts/traffic-management/index.md b/content/en/docs/concepts/traffic-management/index.md index f3b3eeac57..cf0fc5c6dc 100644 --- a/content/en/docs/concepts/traffic-management/index.md +++ b/content/en/docs/concepts/traffic-management/index.md @@ -631,8 +631,7 @@ localized failures from cascading to other nodes. A timeout is the amount of time that an Envoy proxy should wait for replies from a given service, ensuring that services don’t hang around waiting for replies indefinitely and that calls succeed or fail within a predictable timeframe. The -default timeout for HTTP requests is 15 seconds, which means that if the service -doesn’t respond within 15 seconds, the call fails. +Envoy timeout for HTTP requests is disabled in Istio by default. For some applications and services, Istio’s default timeout might not be appropriate. For example, a timeout that is too long could result in excessive diff --git a/content/en/docs/tasks/traffic-management/request-timeouts/index.md b/content/en/docs/tasks/traffic-management/request-timeouts/index.md index 765fec1096..64b9d29d65 100644 --- a/content/en/docs/tasks/traffic-management/request-timeouts/index.md +++ b/content/en/docs/tasks/traffic-management/request-timeouts/index.md @@ -27,8 +27,8 @@ This task shows you how to setup request timeouts in Envoy using Istio. ## Request timeouts -A timeout for http requests can be specified using the *timeout* field of the [route rule](/docs/reference/config/networking/virtual-service/#HTTPRoute). -By default, the timeout is 15 seconds, but in this task you override the `reviews` service +A timeout for HTTP requests can be specified using the *timeout* field of the [route rule](/docs/reference/config/networking/virtual-service/#HTTPRoute). +By default, the request timeout is disabled, but in this task you override the `reviews` service timeout to 1 second. To see its effect, however, you also introduce an artificial 2 second delay in calls to the `ratings` service.