X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=6f04b7d6260b7c5e1690a792ee296e79adeff077;hb=d02199afd87513a2a214f5066368e94d4faa9a1b;hp=670c50f3746748811de096b8401196410bebdaa2;hpb=004a8816ae9b52388de246a9c7a5184a73915ad6;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 670c50f3..6f04b7d6 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,13 +1,13 @@ -WorkerChoiceStrategyOptions | poolifier
+WorkerChoiceStrategyOptions | poolifier - v3.0.4
-
+
  • The search index is not available
  • poolifier - v3.0.4 +
    @@ -24,56 +24,92 @@
    • WorkerChoiceStrategyOptions
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:69
  • - +

    Properties

    -
    - -
    medRunTime?: boolean
    -

    Use tasks median runtime instead of average runtime.

    +
    + + +

    Event loop utilization options.

    -

    Default Value

    false

    +

    Default Value

    { median: false }
    +
    -
    - -
    medWaitTime?: boolean
    -

    Use tasks median wait time instead of average runtime.

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

    Measurement to use in worker choice strategy supporting it.

    +
    +
    +
    + +
    retries?: number
    +

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

    +
    +
    +

    Default Value

    6
    +
    +
    +
    + + +

    Runtime options.

    +
    +
    +

    Default Value

    { median: false }
    +
    +
    +
    + + +

    Wait time options.

    -

    Default Value

    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

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file