PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​Backends.​RedisRedis­Cache­Invalidator­OptionsConnection­Timeout
Open sandboxFocus

RedisCacheInvalidatorOptions.ConnectionTimeout Property

ConnectionTimeout

Gets or sets the time that the Redis invalidator will wait for a Redis connection. (When you create a new Redis invalidator, 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.