Class BackgroundOptions
- Namespace
- Signal.Application.Configuration
- Assembly
- Signal.Application.dll
Background work settings.
public sealed class BackgroundOptions
- Inheritance
-
BackgroundOptions
- Inherited Members
Properties
Capacity
How many items may wait in the queue; queuing waits while it is full. Default 100.
public int Capacity { get; set; }
Property Value
MaxConcurrency
How many background work items run at the same time. Default 4.
public int MaxConcurrency { get; set; }
Property Value
PromptTimeout
How long BackgroundWork.PromptAsync waits for an answer by default. Default 2 minutes.
public TimeSpan PromptTimeout { get; set; }