X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=839bfc938a53b6cbe01cf0f9f5ce07a9645761cc;hb=a99f06d1fff8949584cd630bfaa3fa2e3cc3897e;hp=1046a1c9a2b582159230b9f70e96904249456acb;hpb=601deb7292c99dfe7b6ad43935759933f32adca1;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 1046a1c9..839bfc93 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,136 +1,22 @@ -TasksQueueOptions | poolifier - v3.0.3
-
- -
-
-
-
- -

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
+TasksQueueOptions | poolifier - v3.1.27

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.

-
-
-

Default Value

(pool maximum size)^2
+
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.

-
-
-

Default Value

true
+
taskStealing?: boolean

Whether to enable task stealing on idle.

+

Default Value

true
 
-
-
- -
tasksStealingOnBackPressure?: boolean
-

Whether to enable tasks stealing under back pressure.

-
-
-

Default Value

true
+
tasksFinishedTimeout?: number

Queued tasks finished timeout in milliseconds at worker node termination.

+

Default Value

2000
 
-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file +
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

+

Default Value

true
+
+

Generated using TypeDoc

\ No newline at end of file