You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/02/19 02:30:10 UTC

[GitHub] [dubbo-go] zouyx commented on a change in pull request #1057: fix:grpc client request timeout processing

zouyx commented on a change in pull request #1057:
URL: https://github.com/apache/dubbo-go/pull/1057#discussion_r578882198



##########
File path: protocol/grpc/client.go
##########
@@ -123,3 +134,13 @@ func getInvoker(impl interface{}, conn *grpc.ClientConn) interface{} {
 	res := method.Call(in)
 	return res[0].Interface()
 }
+
+//client timeout
+func UnaryClientTimeoutInterceptor(timeout time.Duration) grpc.UnaryClientInterceptor {

Review comment:
       I think it is private method for `grpc` package, no need to export




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org