X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=b95f6179fce16d0fd83ab1a0aac01f94cdbe58ef;hb=717e9363ccc3cfdbd24bda1bd019d31274163b10;hp=d974b459d5e6c3fd0ecd0ca81990ca7a1bd8b931;hpb=8d98e603c79d8d00b2b6a33e5f732701a7466234;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index d974b459..b95f6179 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,13 +1,13 @@ -WorkerChoiceStrategyOptions | poolifier
+WorkerChoiceStrategyOptions | poolifier - v2.6.45
-
+
  • The search index is not available
  • poolifier - v2.6.45 +
    @@ -17,126 +17,144 @@

    Interface WorkerChoiceStrategyOptions

    Worker choice strategy options.

    -
    +
    +

    Hierarchy

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:69
  • - +

    Properties

    -
    - -
    medRunTime?: boolean
    -

    Use tasks median runtime instead of average runtime.

    - -

    Default Value

    false

    +
    + + +

    Event loop utilization options.

    +
    +
    +

    Default Value

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

    Use tasks median wait time instead of average runtime.

    - -

    Default Value

    false

    +
  • 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

    { 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.

    - -

    Default Value

    Computed worker weights automatically given the CPU performance.

    +

    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

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

    On This Page

    +

    On This Page

    +
  • elu
  • +
  • measurement
  • +
  • retries
  • +
  • runTime
  • +
  • waitTime
  • +
  • weights
  • +
    -

    Generated using TypeDoc

    -
    \ No newline at end of file +

    Generated using TypeDoc

    +
    \ No newline at end of file