diff --git a/dialoptions.go b/dialoptions.go index 75d01ba77..1c28ee711 100644 --- a/dialoptions.go +++ b/dialoptions.go @@ -528,9 +528,6 @@ func WithDefaultServiceConfig(s string) DialOption { // service config enables them. This does not impact transparent retries, which // 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 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 diff --git a/examples/features/retry/README.md b/examples/features/retry/README.md index 826cca7f4..e39a1c717 100644 --- a/examples/features/retry/README.md +++ b/examples/features/retry/README.md @@ -18,11 +18,10 @@ First start the server: go run server/main.go ``` -Then run the client. Note that when running the client, `GRPC_GO_RETRY=on` must be set in -your environment: +Then run the client: ```bash -GRPC_GO_RETRY=on go run client/main.go +go run client/main.go ``` ## Usage