CircuitOptions.PersistedCircuitInMemoryMaxRetained 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 value that determines the maximum number of persisted circuits state that are retained in memory by the server when no distributed cache is configured.
public int PersistedCircuitInMemoryMaxRetained { get; set; }
member this.PersistedCircuitInMemoryMaxRetained : int with get, set
Public Property PersistedCircuitInMemoryMaxRetained As Integer
Property Value
Remarks
When using a distributed cache like HybridCache this value is ignored and the configuration from AddMemoryCache(IServiceCollection) is used instead.
To explicitly control the in memory cache limits when using a distributed cache. Setup a separate instance in HybridPersistenceCache with the desired configuration.