X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=1046a1c9a2b582159230b9f70e96904249456acb;hb=58c0dd01a282b063f30a1d4b71b98d1426239c04;hp=ab9f9afaf26b4d2cba0eb7b0c79a6b6add66a3a7;hpb=969223ea18802a84dfea369e254332e11bf8e419;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index ab9f9afa..1046a1c9 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,13 +1,13 @@ -TasksQueueOptions | poolifier - v2.6.33
+TasksQueueOptions | poolifier - v3.0.3
-
+
  • The search index is not available
  • poolifier - v3.0.3 +
    @@ -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