mirror of https://github.com/grpc/grpc-go.git
doc: promote WithDisableRetry to stable; clarify retry is enabled by default (#4901)
This commit is contained in:
parent
f1d87c14c2
commit
6e8625df63
|
|
@ -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
|
// will happen automatically if no data is written to the wire or if the RPC is
|
||||||
// unprocessed by the remote server.
|
// unprocessed by the remote server.
|
||||||
//
|
//
|
||||||
// Retry support is currently disabled by default, but will be enabled by
|
// Retry support is currently enabled by default, but may be disabled by
|
||||||
// default in the future. Until then, it may be enabled by setting the
|
// setting the environment variable "GRPC_GO_RETRY" to "off".
|
||||||
// environment variable "GRPC_GO_RETRY" to "on".
|
|
||||||
//
|
|
||||||
// Experimental
|
|
||||||
//
|
|
||||||
// Notice: This API is EXPERIMENTAL and may be changed or removed in a
|
|
||||||
// later release.
|
|
||||||
func WithDisableRetry() DialOption {
|
func WithDisableRetry() DialOption {
|
||||||
return newFuncDialOption(func(o *dialOptions) {
|
return newFuncDialOption(func(o *dialOptions) {
|
||||||
o.disableRetry = true
|
o.disableRetry = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue