Class SchedulingOptions
Scheduling options.
Inherited Members
Namespace: DNVGL.One.Compute.Core.FlowModel
Assembly: DNVGL.One.Compute.Core.dll
Syntax
[DataContract]
public class SchedulingOptions
Properties
View SourceFailureStrategy
Gets or sets the failure strategy.
Declaration
[DataMember]
public FailureStrategy FailureStrategy { get; set; }
Property Value
Type | Description |
---|---|
FailureStrategy | The failure strategy. |
MaxTaskRetryCount
Gets or sets the maximum number of retries for individual job tasks.
Declaration
[DataMember]
public int MaxTaskRetryCount { get; set; }
Property Value
Type | Description |
---|---|
int |
Remarks
Note that this value specifically controls the number of retries for the task executable due to a nonzero exit code. The Batch service will try the task once, and may then retry up to this limit. For example, if the maximum retry count is 3, Batch tries the task up to 4 times (one initial try and 3 retries). If the maximum retry count is 0, the Batch service does not retry the task after the first attempt. If the maximum retry count is -1, the Batch service retries the task without limit. Resource files and application packages are only downloaded again if the task is retried on a new compute node.
WorkUnitBatchSize
Gets or sets the size of the work unit batches.
Declaration
[DataMember]
public int WorkUnitBatchSize { get; set; }
Property Value
Type | Description |
---|---|
int | The size of the work unit batches. |
Remarks
A work unit batch is the proposed number of work units that each worker will be assigned. Default is 1.