X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=50d39351bb63bcf66cb06403a55052081e67a7f6;hb=0bb3df76aeab8a2af9e99ccf91d9e9cc5e751674;hp=012565465f296ab5e2e03e07b0ed04fbe52abb1e;hpb=030eb5a38e62c6e381961644eab2ddac9a027aea;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 01256546..491b5d60 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategyOptions | poolifier
+WorkerChoiceStrategyOptions | poolifier - v2.6.34
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.34
    @@ -24,7 +24,7 @@
    • WorkerChoiceStrategyOptions
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:69
  • @@ -32,7 +32,8 @@

    Properties

    -

    Properties

    +
    + +
    choiceRetries?: number
    +

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

    +
    +
    +

    Default Value

    6

    +
    - +

    Event loop utilization options.

    @@ -49,17 +60,17 @@

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

    Runtime options.

    @@ -67,9 +78,9 @@

    Default Value

    { median: false }

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

    Wait time options.

    @@ -77,9 +88,9 @@

    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.

    @@ -88,7 +99,7 @@ Weight is the tasks maximum average or median runtime in milliseconds.

    Default Value

    Computed worker weights automatically given the CPU performance.

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:104
  • +
  • WorkerTypes
  • +
  • availableParallelism
  • Generated using TypeDoc

    \ No newline at end of file