X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=dcb13b39b8492a60d0141cb26c722fa9c9e4852f;hb=9aa78bcb34d9d6002c71ce3de1ece85dd164871f;hp=8c6dad6f8bd47cb294f547ee18eed0c927a5caba;hpb=e905ea64c054a25ef73885e41fc063279bc599ca;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 8c6dad6f..dcb13b39 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,120 +1,18 @@ -TasksQueueOptions | poolifier - v2.6.44
-
- -
-
-
-
- -

Interface TasksQueueOptions

-
-

Worker node tasks queue options.

-
-
-
-

Hierarchy

-
    -
  • TasksQueueOptions
-
-
-
- -
-
-

Properties

-
concurrency? -queueMaxSize? +TasksQueueOptions | poolifier - v3.0.11

Interface TasksQueueOptions

Worker node tasks queue options.

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

Properties

-
-

Properties

-
- -
concurrency?: number
-

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

-
-

Properties

concurrency?: number

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

+

Default Value

1
 
-
-
- -
queueMaxSize?: number
-
-

Deprecated

Use size instead.

-
-
- -
size?: number
-

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

-
-
-

Default Value

(pool maximum size)^2
+
size?: number

Maximum 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 +
taskStealing?: boolean

Whether to enable task stealing on idle.

+

Default Value

true
+
+
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

+

Default Value

true
+
+

Generated using TypeDoc

\ No newline at end of file