upgrade grpc package (#845)

This commit is contained in:
Kevin Wan
2021-07-24 22:29:02 +08:00
committed by GitHub
parent cb8d9d413a
commit 603c93aa4a
3 changed files with 21 additions and 4 deletions

View File

@@ -17,6 +17,7 @@ func TimeoutInterceptor(timeout time.Duration) grpc.UnaryClientInterceptor {
ctx, cancel := context.WithTimeout(ctx, timeout)
defer cancel()
return invoker(ctx, method, req, reply, cc, opts...)
}
}