You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue.
What version of gRPC are you using?
1.11.0-dev
What version of Go are you using (go version)?
go version go1.10 linux/amd64
What operating system (Linux, Windows, …) and version?
Linux
What did you do?
I tried to add default time out for rpc client to avoid use context.WithTimeout every time.
What did you expect to see?
Find an interface to set default timeout for rpc client.
What did you see instead?
Could not find any way to do that. The only thing could change client context timeout may be MethodConfig, but it seems that it is controlled by server side, right?
Hope to find a way to set client default timeout. Thanks.
The text was updated successfully, but these errors were encountered:
Please answer these questions before submitting your issue.
What version of gRPC are you using?
1.11.0-dev
What version of Go are you using (
go version
)?go version go1.10 linux/amd64
What operating system (Linux, Windows, …) and version?
Linux
What did you do?
I tried to add default time out for rpc client to avoid use
context.WithTimeout
every time.What did you expect to see?
Find an interface to set default timeout for rpc client.
What did you see instead?
Could not find any way to do that. The only thing could change client context timeout may be
MethodConfig
, but it seems that it is controlled by server side, right?Hope to find a way to set client default timeout. Thanks.
The text was updated successfully, but these errors were encountered: