X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=0e1bd125141b82c3c4060a870b423ef8e5ea34df;hb=cc35cd9cb7323e39c9f521cdd4fbf51d1d31bbdf;hp=29fa97aaba4b5f19f17dfb51655cac5d52172abd;hpb=88499cf9c298c12aa8235e60d27657f50d3c38ee;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 29fa97aa..0e1bd125 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategyOptions | poolifier - v2.6.17
+WorkerChoiceStrategyOptions | poolifier - v2.6.40
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.17
+
  • The search index is not available
  • poolifier - v2.6.40
    @@ -24,7 +24,7 @@
    • WorkerChoiceStrategyOptions
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:69
  • @@ -34,6 +34,7 @@

    Properties

    elu? measurement? +retries? runTime? waitTime? weights? @@ -46,49 +47,64 @@

    Event loop utilization options.

    -

    Default Value

    { median: false }

    +

    Default Value

    { median: false }
    +
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:97
  • measurement?: "runTime" | "waitTime" | "elu"
    -

    Measurement to use for worker choice strategy.

    +

    Measurement to use in worker choice strategy supporting it.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:79
  • +
    + +
    retries?: number
    +

    Number of worker choice retries to perform if no worker is eligible.

    +
    +
    +

    Default Value

    6
    +
    +

    Runtime options.

    -

    Default Value

    { median: false }

    +

    Default Value

    { median: false }
    +
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:85
  • Wait time options.

    -

    Default Value

    { median: false }

    +

    Default Value

    { median: false }
    +
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:91
  • weights?: Record<number, number>
    -

    Worker weights to use for weighted round robin worker selection strategy. -Weight is the tasks maximum average or median runtime in milliseconds.

    +

    Worker weights to use for weighted round robin worker selection strategies. +A weight is tasks maximum execution time in milliseconds for a worker node.

    -

    Default Value

    Computed worker weights automatically given the CPU performance.

    +

    Default Value

    Weights computed automatically given the CPU performance.
    +
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:104
  • -

    Generated using TypeDoc

    +

    Generated using TypeDoc

    \ No newline at end of file