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

RedisCachingBackendConfiguration.ConnectionTimeout Property

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

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