From 6e8625df635bd7afe589d38a1559ebacf4273b07 Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Tue, 26 Oct 2021 14:43:44 -0700 Subject: [PATCH] doc: promote WithDisableRetry to stable; clarify retry is enabled by default (#4901) --- dialoptions.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dialoptions.go b/dialoptions.go index 2af1b6c2f..40d8ba659 100644 --- a/dialoptions.go +++ b/dialoptions.go @@ -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