We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6aa5a4 + 73d28dd commit cbdebd1Copy full SHA for cbdebd1
1 file changed
client.go
@@ -123,6 +123,7 @@ func New(address string, opts ...ClientOpt) (*Client, error) {
123
grpc.FailOnNonTempDialError(true),
124
grpc.WithConnectParams(connParams),
125
grpc.WithContextDialer(dialer.ContextDialer),
126
+ grpc.WithReturnConnectionError(),
127
128
// TODO(stevvooe): We may need to allow configuration of this on the client.
129
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(defaults.DefaultMaxRecvMsgSize)),
0 commit comments