X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=e8004f884378a12f787d0b50aea7e4384de79f3f;hb=b9da9d7e74c720f83482a09d1b883fc83d04f4ed;hp=b46399297afd3f7bffb0bebb66ae58e99feaf25d;hpb=c22b117f8593bba575a4385b8f125f14b4bf1099;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index b4639929..e8004f88 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategyOptions | poolifier - v2.6.29
+WorkerChoiceStrategyOptions | poolifier - v2.6.37
  • Preparing search index...
  • -
  • The search index is not available
poolifier - v2.6.29
+
  • The search index is not available
  • poolifier - v2.6.37
    @@ -24,7 +24,7 @@
    • WorkerChoiceStrategyOptions
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:69
  • @@ -32,35 +32,26 @@

    Properties

    -
    - -
    choiceRetries?: number
    -

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

    -
    -
    -

    Default Value

    6

    -
    - +

    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"
    @@ -68,38 +59,52 @@
    +
  • 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