Skip to content

SchedulingOptions

class

Namespace: Orleans.Configuration

Options for configuring scheduler behavior.
public class SchedulingOptions

Constructors

Properties

  • ActivationSchedulingQuantum Gets or sets the soft time limit on the duration of activation macro-turn (a number of micro-turns). If an activation was running its micro-turns longer than this, we will give up the thread. If this is set to zero or a negative number, then the full work queue is drained (MaxWorkItemsPerTurn allowing).
  • DelayWarningThreshold Gets or sets the work item queuing delay threshold, at which a warning log message is written. That is, if the delay between enqueuing the work item and executing the work item is greater than DelayWarningThreshold, a warning log is written.
  • MaxPendingWorkItemsSoftLimit Gets or sets the per work group limit of how many items can be queued up before warnings are generated.
  • StoppedActivationWarningInterval Gets or sets the period of time after which to log errors for tasks scheduled to stopped activations.
  • TurnWarningLengthThreshold Gets or sets the soft time limit to generate trace warning when the micro-turn executes longer then this period in CPU.

Fields