BackgroundTasksOverloadedThreshold
Gets or sets the number of tasks over which the Metalama.Patterns.Caching.Backends.Redis.RedisCachingBackend notifies its state as overloaded through the Metalama.Patterns.Caching.Backends.Redis.RedisCachingBackend.IsBackgroundTaskQueueOverloaded property and the Metalama.Patterns.Caching.Backends.Redis.RedisCachingBackend.IsBackgroundTaskQueueOverloadedChanged event. The default value is 125. The RedisCacheDependencyGarbageCollector component stops processing real-time eviction and expiration notifications when the component is overloaded.
Declaration
public int BackgroundTasksOverloadedThreshold { get; init; }Property Value
| Type | Description |
|---|---|
| int |