X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=ddb135fe69a80dfac2db5f6ee9a80964f7a0e400;hb=800480935c90f3847c389dd5dbfca11760e78675;hp=bbda4e9aca5504f4bdf7fbdb3c918d13091d2eb4;hpb=603ce450e1c02a53a06aff9e9ba5f3cdee24a3f2;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index bbda4e9a..ddb135fe 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,13 +1,13 @@ -TasksQueueOptions | poolifier - v2.6.34
+TasksQueueOptions | poolifier - v3.0.1
-
+
  • The search index is not available
  • poolifier - v3.0.1 +
    @@ -24,53 +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
    -
    -

    Deprecated

    Use size instead.

    -
    +
  • 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
    +
    +
    +
    + +
    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
    +
    +
  • Defined in src/pools/pool.ts:123
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file