PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Caching­Backend­ConfigurationConnection­Timeout
Open sandboxFocus

RedisCachingBackendConfiguration.ConnectionTimeout Property

ConnectionTimeout

Gets or sets the time that the Redis backend will wait for a Redis connection. (When you create a new Redis backend, if it doesn't connect to a Redis server in this timeout, a TimeoutException is thrown.)

Declaration
public TimeSpan ConnectionTimeout { get; set; }
Property Value
Type Description
System.TimeSpan
Remarks

The default value is 1 minute.