X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=29fa97aaba4b5f19f17dfb51655cac5d52172abd;hb=88499cf9c298c12aa8235e60d27657f50d3c38ee;hp=5b3bf9c8201353b79443f7fe4f65d2a6f9268980;hpb=76aa2b0f39bd376383f2fdc79046328693719590;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 5b3bf9c8..29fa97aa 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,4 +1,4 @@ -WorkerChoiceStrategyOptions | poolifier
+WorkerChoiceStrategyOptions | poolifier - v2.6.17
  • Preparing search index...
  • -
  • The search index is not available
poolifier
+
  • The search index is not available
  • poolifier - v2.6.17
    @@ -24,7 +24,7 @@
    • WorkerChoiceStrategyOptions
    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:71
  • @@ -41,7 +41,7 @@

    Properties

    - +

    Event loop utilization options.

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

    Default Value

    { median: false }

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:93
  • - +
    measurement?: "runTime" | "waitTime" | "elu"

    Measurement to use for worker choice strategy.

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

    Runtime options.

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

    Default Value

    { median: false }

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

    Wait time options.

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

    Default Value

    { median: false }

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:87
  • - +
    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 +88,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:100