X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=750a6cc7abf5e0be4f5f2b15112693532e8d39a1;hb=627fc572465ba2113cbf3df6bd055c3242ecd0fe;hp=bf7c4931f6b303a8fcca5af42b106a18e203ff72;hpb=b7e141c40bccfd7a4ec0ff98b7829f7d296f048b;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index bf7c4931..750a6cc7 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,162 +1,22 @@ -
Optional
Readonly
concurrencyMaximum number of tasks that can be executed concurrently on a worker node.
-1
+TasksQueueOptions | poolifier - v4.0.15 Interface TasksQueueOptions
Worker node tasks queue options.
+ interface TasksQueueOptions {
    concurrency?: number;
    size?: number;
    taskStealing?: boolean;
    tasksFinishedTimeout?: number;
    tasksStealingOnBackPressure?: boolean;
} Index
Properties
Properties
Optional
Readonly
concurrency
concurrency?: numberMaximum number of tasks that can be executed concurrently on a worker node.
+Default Value
1
-
-
-Optional
Readonly
queue Max Size
-queue Max Size?: number
-
-Deprecated
Use size
instead.
-
-
-Optional
Readonly
size
-size?: number
-Maximum tasks queue size per worker node flagging it as back pressured.
-
-
-Default Value
(pool maximum size)^2
+
Optional
Readonly
size
size?: numberMaximum 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
+
Optional
Readonly
taskWhether to enable task stealing on idle.
+true
+
+Optional
Readonly
tasksQueued tasks finished timeout in milliseconds at worker node termination.
+2000
+
+Optional
Readonly
tasksWhether to enable tasks stealing under back pressure.
+false
+
+
Worker node tasks queue options.
-