Share via


CircuitOptions.PersistedCircuitInMemoryMaxRetained Property

Definition

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.

Applies to