Class AbpBackgroundJobWorkerOptions
Inheritance
System.Object
AbpBackgroundJobWorkerOptions
Namespace: Volo.Abp.BackgroundJobs
Assembly: Volo.Abp.BackgroundJobs.dll
Syntax
public class AbpBackgroundJobWorkerOptions : object
Constructors
AbpBackgroundJobWorkerOptions()
Declaration
public AbpBackgroundJobWorkerOptions()
Properties
DefaultFirstWaitDuration
Default duration (as seconds) for the first wait on a failure. Default value: 60 (1 minutes).
Declaration
public int DefaultFirstWaitDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultTimeout
Default timeout value (as seconds) for a job before it's abandoned (IsAbandoned). Default value: 172,800 (2 days).
Declaration
public int DefaultTimeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
DefaultWaitFactor
Default wait factor for execution failures. This amount is multiplated by last wait time to calculate next wait time. Default value: 2.0.
Declaration
public double DefaultWaitFactor { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
JobPollPeriod
Interval between polling jobs from IBackgroundJobStore. Default value: 5000 (5 seconds).
Declaration
public int JobPollPeriod { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MaxJobFetchCount
Maximum count of jobs to fetch from data store in one loop. Default: 1000.
Declaration
public int MaxJobFetchCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |