X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=ddb135fe69a80dfac2db5f6ee9a80964f7a0e400;hb=800480935c90f3847c389dd5dbfca11760e78675;hp=92adc8b51dfb7c542e009756e7ba54d4cf16b4ac;hpb=4445abb25ec4c9d80985ca93c65762a6c892a852;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index 92adc8b5..ddb135fe 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,13 +1,13 @@ -TasksQueueOptions | poolifier - v2.6.31
+TasksQueueOptions | poolifier - v3.0.1
-
+
  • The search index is not available
  • poolifier - v3.0.1 +
    @@ -16,7 +16,7 @@
  • TasksQueueOptions
  • Interface TasksQueueOptions

    -

    Worker tasks queue options.

    +

    Worker node tasks queue options.

    @@ -24,33 +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.

    +

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

    -

    Default Value

    1

    +

    Default Value

    1
    +
    +
  • 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
    +
    +
    +
    + +
    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