PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Cache­Invalidator­Options Class / Redis­Cache­Invalidator­Options Properties / Redis­Cache­Invalidator­Options.​Connection­Timeout Property

RedisCacheInvalidatorOptions.ConnectionTimeout Property

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.)

Namespace:  PostSharp.Patterns.Caching.Backends.Redis
Assembly:  PostSharp.Patterns.Caching.Backends.Redis (in PostSharp.Patterns.Caching.Backends.Redis.dll) Version: (
public TimeSpan ConnectionTimeout { get; set; }

Property Value

Type: TimeSpan
The default value is 1 minute.
See Also