X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=34e2dc803d89a9a6d8ec6caeb05a8271c6a10d9f;hb=0aa00166eaa9a8c9b505b4fa7fd5dc50d831b7ef;hp=ef27d0cd55da92eee6b1f9dc120650d67c524ec0;hpb=fd13902fd959335e2c0f95d1b464317a2da8b6cf;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index ef27d0cd..34e2dc80 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,134 +1,27 @@ -TasksQueueOptions | poolifier - v2.6.30
-
- -
-
-
-
- -

Interface TasksQueueOptions

-
-

Worker tasks queue options.

-
-
-
-

Hierarchy

-
    -
  • TasksQueueOptions
-
-
-
- -
-
-

Properties

-
-
-

Properties

-
- -
concurrency?: number
-

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

-
-
-

Default Value

1

-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +TasksQueueOptions | poolifier - v4.0.15

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.

+
1
+
+ +
size?: number

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

+
(pool maximum size)^2
+
+ +
taskStealing?: boolean

Whether to enable task stealing on idle.

+
true
+
+ +
tasksFinishedTimeout?: number

Queued tasks finished timeout in milliseconds at worker node termination.

+
2000
+
+ +
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

+
false
+
+ +
\ No newline at end of file