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=d9874a05e4ec848993dd4a8dbaff4b36f7ed02a8;hpb=ddc35f92c712f38d9cfd79fd558cf80c0e031219;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index d9874a05..3f748197 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,158 +1,18 @@ -TasksQueueOptions | poolifier - v2.6.34
-
- -
-
-
-
- -

Interface TasksQueueOptions

-
-

Worker node tasks queue options.

-
-
-
-

Hierarchy

-
    -
  • TasksQueueOptions
-
-
-
- -
-
-

Properties

-
concurrency? -queueMaxSize? +TasksQueueOptions | poolifier - v3.0.9

Interface TasksQueueOptions

Worker node tasks queue options.

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

Properties

-
-

Properties

-
- -
concurrency?: number
-

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

-
-
-

Default Value

1

-
-
- -
queueMaxSize?: number
-
-

Deprecated

Use size instead.

-
-
- -
size?: number
-

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

-
-
-

Default Value

(pool maximum size)^2

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file +taskStealing? +tasksStealingOnBackPressure? +

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 on idle.

+

Default Value

true
+
+
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

+

Default Value

true
+
+

Generated using TypeDoc

\ No newline at end of file