Class MillraceOptions
- Namespace
- Millrace
- Assembly
- Millrace.dll
Node-level configuration for workers, scheduling, and serialization.
public sealed class MillraceOptions
- Inheritance
-
MillraceOptions
- Inherited Members
Fields
- DefaultQueue
The queue name used when none is given.
Properties
- ActivationBatchSize
Ceiling on the work one scheduler pass does — both due jobs activated and recurring definitions considered for firing.
- ClaimBatchSize
Ceiling on how many jobs a worker claims in one round trip.
- DefaultRetry
Applied when Retry is not set.
- HeartbeatInterval
How often a worker renews the leases on jobs it is running.
- InterruptionLimit
Poison-pill threshold: a claim returning
Attempt - Failuresabove this means the job keeps getting interrupted without ever recording a failure — presumed to crash workers — and is dead-lettered without executing.
- LeaseDuration
Claim lease length. Must exceed HeartbeatInterval by enough margin for renewal latency plus inter-node clock skew (defaults tolerate ~4 minutes of skew); validated at startup.
- MaxParallelism
Maximum concurrently executing jobs on this node.
- MaxPollDelay
Adaptive polling ceiling when idle; also the wakeup fallback with a notifier.
- MinPollDelay
Adaptive polling floor (used right after work was found).
- Queues
Queues this node's workers claim from (unordered — no queue precedence).
- SchedulerEnabled
Runs the opportunistic scheduler on this node (independent of the workers).
- SchedulerInterval
Cadence of the opportunistic scheduler pass (due activation + recurring fires).
- SerializerOptions
Used for job arguments and workflow data documents.
- ShutdownGrace
Phase-2 shutdown grace after job tokens fire, before jobs are released.
- ShutdownTimeout
Phase-1 shutdown drain: in-flight jobs get this long to finish, leases renewing.
- WorkerEnabled
Runs the worker pool on this node.
- WorkflowQueue
Queue that workflow activity jobs are enqueued to.