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 <frankb@ca.ibm.com>
This commit is contained in:
Lin Sun 2020-08-21 17:08:42 -04:00 committed by GitHub
parent 127a716ac0
commit fbb263e6de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -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 dont 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
doesnt respond within 15 seconds, the call fails.
Envoy timeout for HTTP requests is disabled in Istio by default.
For some applications and services, Istios default timeout might not be
appropriate. For example, a timeout that is too long could result in excessive

View File

@ -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.