From 3b94303f375441714f9f4c488781e8928e000537 Mon Sep 17 00:00:00 2001 From: Igor Zibarev Date: Wed, 3 Nov 2021 23:20:53 +0300 Subject: [PATCH] grpc: stabilize WithConnectParams DialOption (#4915) --- dialoptions.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dialoptions.go b/dialoptions.go index 40d8ba659..280df92e7 100644 --- a/dialoptions.go +++ b/dialoptions.go @@ -228,18 +228,14 @@ func WithServiceConfig(c <-chan ServiceConfig) DialOption { }) } -// WithConnectParams configures the dialer to use the provided ConnectParams. +// WithConnectParams configures the ClientConn to use the provided ConnectParams +// for creating and maintaining connections to servers. // // The backoff configuration specified as part of the ConnectParams overrides // all defaults specified in // https://github.com/grpc/grpc/blob/master/doc/connection-backoff.md. Consider // using the backoff.DefaultConfig as a base, in cases where you want to // override only a subset of the backoff configuration. -// -// Experimental -// -// Notice: This API is EXPERIMENTAL and may be changed or removed in a -// later release. func WithConnectParams(p ConnectParams) DialOption { return newFuncDialOption(func(o *dialOptions) { o.bs = internalbackoff.Exponential{Config: p.Backoff}