Skip to content
This repository has been archived by the owner on Dec 24, 2022. It is now read-only.

Automatic Retries

Demis Bellot edited this page Sep 2, 2015 · 1 revision

One feature that improves the resilience of RedisClient connections is Auto Retry where the RedisClient will transparently retry failed Redis operations due to Socket and I/O Exceptions in an exponential backoff starting from 10ms up until the RetryTimeout of 3000ms. These defaults can be tweaked with:

RedisConfig.DefaultRetryTimeout = 3000;
RedisConfig.BackOffMultiplier = 10;

The RetryTimeout can also be configured on the connection string with ?RetryTimeout=3000.

Clone this wiki locally