Interface TasksQueueOptions

Worker node tasks queue options.

Hierarchy

  • TasksQueueOptions

Properties

concurrency?: number

Maximum number of tasks that can be executed concurrently on a worker node.

Default Value

1
size?: number

Maximum tasks queue size per worker node flagging it as back pressured.

Default Value

(pool maximum size)^2
taskStealing?: boolean

Whether to enable task stealing.

Default Value

true
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing on back pressure.

Default Value

true

Generated using TypeDoc