StackExchangeRedisSettings.DisableAutoActivation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a boolean value that indicates whether auto activation is disabled or not.
public bool DisableAutoActivation { get; set; }
member this.DisableAutoActivation : bool with get, set
Public Property DisableAutoActivation As Boolean
Property Value
The default value is true.
Remarks
When auto activation is enabled, the Redis connection is established at startup time rather than on first use, which prevents blocking threads when the connection is first requested from the DI container.