X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=9382c1afb1b382ebd500648392d215386b622b72;hb=c4d8442aed5e5a9d6cde9f3bfd721be3033c1eef;hp=688e423d787e24e582a3e814b60d720cd8d0f76c;hpb=6c7727ff79d651547ca10f44504d61e5073f07da;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 688e423d..9382c1af 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,13 +1,13 @@ -WorkerChoiceStrategyOptions | poolifier
+WorkerChoiceStrategyOptions | poolifier - v2.6.44
-
+
  • The search index is not available
  • poolifier - v2.6.44 +
    @@ -17,111 +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 run time instead of average run time.

    - -

    Default Value

    false

    +
    + + +

    Event loop utilization options.

    +
    +
    +

    Default Value

    { median: 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 }
    +
    +
    - +
    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