gRPC Client Timeout
Summary
gRPC Client Timeout sets the maximum time before canceling an upstream gRPC request. During transient failures, the proxy will retry upstream servers for this duration. You should leave this high enough to handle backend service restart and rediscovery so that client requests do not fail.
How to configure
- Core
- Enterprise
- Kubernetes
Config file keys | Environment variables | Type | Default |
---|---|---|---|
grpc_client_timeout | GRPC_CLIENT_TIMEOUT | string (Go Duration formatting) | 10s |
grpc_client_timeout
is a bootstrap configuration setting and is not configurable in the Console.
Kubernetes does not support gRPC Client Timeout
Examples
# config file key
grpc_client_timeout: 15s
# environment variable
GRPC_CLIENT_TIMEOUT=15s