X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=34e2dc803d89a9a6d8ec6caeb05a8271c6a10d9f;hb=224d008191f52fa20b93e1ba67919569f8d6e315;hp=750a6cc7abf5e0be4f5f2b15112693532e8d39a1;hpb=dea42379cfdbcf1c1c9800df7c097eab484ebc07;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 750a6cc7..34e2dc80 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,22 +1,27 @@ -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? +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