X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=34e2dc803d89a9a6d8ec6caeb05a8271c6a10d9f;hb=0aa00166eaa9a8c9b505b4fa7fd5dc50d831b7ef;hp=81064aec9b16e1f90d01801c842a69383f9073cb;hpb=f682cfbe8e6e8f9ccc476e15505c914326702a47;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 81064aec..34e2dc80 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,22 +1,27 @@ -TasksQueueOptions | poolifier - v4.0.4

Interface TasksQueueOptions

Worker node tasks queue options.

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

Properties

concurrency? +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.

-

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
-
-
tasksFinishedTimeout?: number

Queued tasks finished timeout in milliseconds at worker node termination.

-

Default Value

2000
-
-
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

-

Default Value

false
-
-
\ No newline at end of file +

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