X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=3f74819774895f118f111a716309198e35ee2692;hb=refs%2Ftags%2Fv3.0.10;hp=fdad82f08e661aef0928bbddf1839d2c628a75e2;hpb=b4e93467358d93166716dc6e5075d58c18c961c7;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index fdad82f0..3f748197 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,18 +1,18 @@ -TasksQueueOptions | poolifier - v3.0.6

Interface TasksQueueOptions

Worker node tasks queue options.

-

Hierarchy

  • TasksQueueOptions

Properties

concurrency? +TasksQueueOptions | poolifier - v3.0.9

Interface TasksQueueOptions

Worker node tasks queue options.

+
interface TasksQueueOptions {
    concurrency?: number;
    size?: number;
    taskStealing?: boolean;
    tasksStealingOnBackPressure?: boolean;
}

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.

+
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 on empty queue.

+
taskStealing?: boolean

Whether to enable task stealing on idle.

Default Value

true
 
-
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

+
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

Default Value

true
 
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file