mirror of https://github.com/grpc/grpc-go.git
*: Regenerate protos (#8142)
This commit is contained in:
parent
0914bba6c5
commit
e8c412da15
|
@ -362,13 +362,15 @@ type RouteLookupConfig struct {
|
|||
LookupServiceTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=lookup_service_timeout,json=lookupServiceTimeout,proto3" json:"lookup_service_timeout,omitempty"`
|
||||
// How long are responses valid for (like HTTP Cache-Control).
|
||||
// If omitted or zero, the longest valid cache time is used.
|
||||
// This value is clamped to 5 minutes to avoid unflushable bad responses.
|
||||
// This value is clamped to 5 minutes to avoid unflushable bad responses,
|
||||
// unless stale_age is specified.
|
||||
MaxAge *durationpb.Duration `protobuf:"bytes,5,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
|
||||
// After a response has been in the client cache for this amount of time
|
||||
// and is re-requested, start an asynchronous RPC to re-validate it.
|
||||
// This value should be less than max_age by at least the length of a
|
||||
// typical RTT to the Route Lookup Service to fully mask the RTT latency.
|
||||
// If omitted, keys are only re-requested after they have expired.
|
||||
// This value is clamped to 5 minutes.
|
||||
StaleAge *durationpb.Duration `protobuf:"bytes,6,opt,name=stale_age,json=staleAge,proto3" json:"stale_age,omitempty"`
|
||||
// Rough indicator of amount of memory to use for the client cache. Some of
|
||||
// the data structure overhead is not accounted for, so actual memory consumed
|
||||
|
|
Loading…
Reference in New Issue