Merge pull request #11536 from k8s-infra-cherrypick-robot/cherry-pick-11508-to-release/2.0
[release/2.0] Respect `client.WithTimeout` option on connect
This commit is contained in:
		| @@ -130,6 +130,7 @@ func New(address string, opts ...Opt) (*Client, error) { | ||||
| 		backoffConfig.MaxDelay = copts.timeout | ||||
| 		connParams := grpc.ConnectParams{ | ||||
| 			Backoff:           backoffConfig, | ||||
| 			MinConnectTimeout: copts.timeout, | ||||
| 		} | ||||
| 		gopts := []grpc.DialOption{ | ||||
| 			grpc.WithTransportCredentials(insecure.NewCredentials()), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Akihiro Suda
					Akihiro Suda