X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=ddb135fe69a80dfac2db5f6ee9a80964f7a0e400;hb=800480935c90f3847c389dd5dbfca11760e78675;hp=ef27d0cd55da92eee6b1f9dc120650d67c524ec0;hpb=0676e5d32c8f8ee5c5b7f5998f4973b0a276460f;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index ef27d0cd..ddb135fe 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,13 +1,13 @@ -TasksQueueOptions | poolifier - v2.6.30
+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