X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=e49362b36a17914252e8c8609178c392cb4ff075;hb=665702eef3ad8153279b344e0276687f7f50c10f;hp=9d6cfd052a85c1e728911c8d5d9345a791ee8294;hpb=c65efde664ab9e4dcd2ed9e827d8171e7e081359;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 9d6cfd05..e49362b3 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,13 +1,13 @@ -WorkerChoiceStrategyOptions | poolifier - v2.6.24
+WorkerChoiceStrategyOptions | poolifier - v2.6.42
-
+
  • The search index is not available
  • poolifier - v2.6.42 +
    @@ -24,16 +24,17 @@
    • WorkerChoiceStrategyOptions
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:69
  • - +

    Properties

    -
    elu? +
    elu? measurement? +retries? runTime? waitTime? weights? @@ -41,67 +42,82 @@

    Properties

    - +

    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
  • @@ -110,71 +126,35 @@ Weight is the tasks maximum average or median runtime in milliseconds.

    +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file