Skip to main content

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

Config file keysEnvironment variablesTypeDefault
grpc_client_timeoutGRPC_CLIENT_TIMEOUTstring (Go Duration formatting)10s

Examples

# config file key
grpc_client_timeout: 15s

# environment variable
GRPC_CLIENT_TIMEOUT=15s