From 61ab2f403b36cb9b4de57de9244d69bbb494dd87 Mon Sep 17 00:00:00 2001 From: Doug Fawley Date: Tue, 26 Oct 2021 13:59:09 -0700 Subject: [PATCH] doc: promote WithDisableRetry to stable; clarify retry is enabled by default --- dialoptions.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/dialoptions.go b/dialoptions.go index 2af1b6c2f14..40d8ba6596a 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