X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTasksQueueOptions.html;h=ddb135fe69a80dfac2db5f6ee9a80964f7a0e400;hb=800480935c90f3847c389dd5dbfca11760e78675;hp=bf7c4931f6b303a8fcca5af42b106a18e203ff72;hpb=22c85455d2f30345148aa3e1304d3b0840102f72;p=poolifier.git diff --git a/docs/interfaces/TasksQueueOptions.html b/docs/interfaces/TasksQueueOptions.html index bf7c4931..ddb135fe 100644 --- a/docs/interfaces/TasksQueueOptions.html +++ b/docs/interfaces/TasksQueueOptions.html @@ -1,13 +1,13 @@ -TasksQueueOptions | poolifier - v2.6.41
+TasksQueueOptions | poolifier - v3.0.1
-
+
  • The search index is not available
  • poolifier - v3.0.1 +
    @@ -24,22 +24,23 @@
    • TasksQueueOptions
    +
  • Defined in src/pools/pool.ts:99
  • - +

    Properties

    - +
    concurrency?: number

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

    @@ -48,15 +49,7 @@
    -
    - -
    queueMaxSize?: number
    -
    -

    Deprecated

    Use size instead.

    -
    +
  • Defined in src/pools/pool.ts:111
  • size?: number
    @@ -67,12 +60,34 @@
    +
  • 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 +
    \ No newline at end of file