Skip to content

Commit

Permalink
doc: promote WithDisableRetry to stable; clarify retry is enabled by …
Browse files Browse the repository at this point in the history
…default (#4901)
  • Loading branch information
dfawley authored Oct 26, 2021
1 parent f1d87c1 commit 6e8625d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions dialoptions.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,14 +539,8 @@ func WithDefaultServiceConfig(s string) DialOption {
// will happen automatically if no data is written to the wire or if the RPC is
// unprocessed by the remote server.
//
// Retry support is currently disabled by default, but will be enabled by
// default in the future. Until then, it may be enabled by setting the
// environment variable "GRPC_GO_RETRY" to "on".
//
// Experimental
//
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
// later release.
// Retry support is currently enabled by default, but may be disabled by
// setting the environment variable "GRPC_GO_RETRY" to "off".
func WithDisableRetry() DialOption {
return newFuncDialOption(func(o *dialOptions) {
o.disableRetry = true
Expand Down

0 comments on commit 6e8625d

Please sign in to comment.