X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=10145de7799e931f51f2c51a81d75ddaa7db4aee;hb=d3a9c958dcc326062e978f22d88747c00522032d;hp=1928bccf481304f55a7e1556c0c76344f029cdea;hpb=0d60e26b333c8072404dee45d8602602515b3b22;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 1928bccf..10145de7 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,22 +1,22 @@ -TasksQueueOptions | poolifier - v3.1.8

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.

+TasksQueueOptions | poolifier - v3.1.29

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.

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

+
taskStealing?: boolean

Whether to enable task stealing on idle.

Default Value

true
 
-
tasksFinishedTimeout?: number

Queued tasks finished timeout in milliseconds at worker node termination.

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

+
tasksStealingOnBackPressure?: boolean

Whether to enable tasks stealing under back pressure.

Default Value

true
 
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file