Skip to content

Commit

Permalink
Reference the correct default retry policy (#2410)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
SonnyRR authored Mar 28, 2023
1 parent 9698aaa commit 3f8fd08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3f8fd08

Please sign in to comment.