From 3f8fd08bae36439864efc7576696977ea68db31f Mon Sep 17 00:00:00 2001 From: Vasil Kotsev <9307969+SonnyRR@users.noreply.github.com> Date: Tue, 28 Mar 2023 23:03:30 +0300 Subject: [PATCH] Reference the correct default retry policy (#2410) Update the 'Configuration' documentation page with the correct default 'ReconnectRetryPolicy' value. Reference: - [src/StackExchange.Redis/ConfigurationOptions.cs](https://github.com/SonnyRR/StackExchange.Redis/blob/improvement/configuration-docs-retry-policy/src/StackExchange.Redis/ConfigurationOptions.cs#L466) - [src/StackExchange.Redis/Configuration/DefaultOptionsProvider.cs](https://github.com/SonnyRR/StackExchange.Redis/blob/improvement/configuration-docs-retry-policy/src/StackExchange.Redis/Configuration/DefaultOptionsProvider.cs#L152) --- docs/Configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Configuration.md b/docs/Configuration.md index 8982b1298..d085d967c 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -238,7 +238,7 @@ These settings are also used by the `IServer.MakeMaster()` method, which can set ReconnectRetryPolicy --- StackExchange.Redis automatically tries to reconnect in the background when the connection is lost for any reason. It keeps retrying until the connection has been restored. It would use ReconnectRetryPolicy to decide how long it should wait between the retries. -ReconnectRetryPolicy can be linear (default), exponential or a custom retry policy. +ReconnectRetryPolicy can be exponential (default), linear or a custom retry policy. Examples: