X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=90c12f73008d99cacc66ccc24ceb25c7f8a9ffa6;hb=f30cddb8f07ac919d75140469faab6e0883709da;hp=317ddd6fd48b0e5aed6700ccb56d8f3c12df49a9;hpb=772b5f23dd379211a734346981ac26651c9d6802;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 317ddd6f..90c12f73 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,5 +1,5 @@ -TasksQueueOptions | poolifier - v3.1.30

Interface TasksQueueOptions

Worker node tasks queue options.

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

Properties

concurrency? +TasksQueueOptions | poolifier - v4.0.3

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
 
-
\ No newline at end of file +
\ No newline at end of file