X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=10145de7799e931f51f2c51a81d75ddaa7db4aee;hb=ecde6ea8c439bbdd9dc2ca118731b5006a1a9884;hp=e5f22f9aca46165893c0996c60c16c6bb9f4c7ba;hpb=b8450a656d007edd200fdf785563d3a268bc09c6;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index e5f22f9a..10145de7 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,22 +1,22 @@ -TasksQueueOptions | poolifier - v3.1.9

Interface TasksQueueOptions

Worker node tasks queue options.

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

Properties

concurrency?: number

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

+TasksQueueOptions | poolifier - v3.1.29

Interface TasksQueueOptions

Worker node tasks queue options.

+
interface TasksQueueOptions {
    concurrency?: number;
    size?: number;
    taskStealing?: boolean;
    tasksFinishedTimeout?: number;
    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 idle.

+
taskStealing?: boolean

Whether to enable task stealing on idle.

Default Value

true
 
-
tasksFinishedTimeout?: number

Queued tasks finished timeout in milliseconds at worker node termination.

+
tasksFinishedTimeout?: number

Queued tasks finished timeout in milliseconds at worker node termination.

Default Value

2000
 
-
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