X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=c5f6be3b8ef381896090bb5d85786519fdd2bac0;hb=a4a88903255bd661b57480ce9b07dd2f2962f069;hp=b42f2744a945f1e9d4e876d31eb73d45c94899f1;hpb=a4ba0bba85ba79e61e4095edccbde9a6ee2fc08a;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index b42f2744..c5f6be3b 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,13 +1,13 @@ -TasksQueueOptions | poolifier - v2.6.32
+TasksQueueOptions | poolifier - v3.0.5
-
+
  • The search index is not available
  • poolifier - v3.0.5 +
    @@ -24,44 +24,70 @@
    • TasksQueueOptions
    +
  • Defined in src/pools/pool.ts:99
  • - +

    Properties

    - +
    concurrency?: number

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

    -

    Default Value

    1

    +

    Default Value

    1
    +
    -
    - -
    queueMaxSize?: number
    +
  • Defined in src/pools/pool.ts:111
  • +
    + +
    size?: number

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

    -

    Default Value

    (pool maximum size)^2

    +

    Default Value

    (pool maximum size)^2
    +
    +
  • Defined in src/pools/pool.ts:105
  • +
    + +
    taskStealing?: boolean
    +

    Whether to enable task stealing on empty queue.

    +
    +
    +

    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 +

    Generated using TypeDoc

    +
    \ No newline at end of file