Skip to content

Commit

Permalink
Stabilize WithConnectParams DialOption
Browse files Browse the repository at this point in the history
  • Loading branch information
hypnoglow committed Oct 31, 2021
1 parent d6aca73 commit e072b1c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions dialoptions.go
Expand Up @@ -235,11 +235,6 @@ func WithServiceConfig(c <-chan ServiceConfig) DialOption {
// 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}
Expand Down

0 comments on commit e072b1c

Please sign in to comment.