X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=cd78360e2d6d0d8f82367a226fc5aeb79ab74120;hb=af66adf6d7514f45660caaded5e8b3f92aa41b7f;hp=272d1c60228c33fb0eb5053dde0bb2997c41408e;hpb=341ec6db3b66173fd9314338b736fabb0639914b;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 272d1c60..cd78360e 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,161 +1,22 @@ -
Optional
Readonly
concurrencyMaximum number of tasks that can be executed concurrently on a worker node.
-1
+TasksQueueOptions | poolifier - v4.0.10 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.
-