X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=8dbb5a3e2eea07e4719c9233a01b0d9ba65dba23;hb=811dc01fd8bb1b23cc3e6e72f7fbc82cc8f473ae;hp=688e423d787e24e582a3e814b60d720cd8d0f76c;hpb=6c7727ff79d651547ca10f44504d61e5073f07da;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 688e423d..8dbb5a3e 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -23,7 +23,7 @@ +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:41
  • @@ -32,6 +32,7 @@

    Properties

    @@ -39,12 +40,21 @@
    medRunTime?: boolean
    -

    Use tasks median run time instead of average run time.

    +

    Use tasks median runtime instead of average runtime.

    Default Value

    false

    +
  • Defined in src/pools/selection-strategies/selection-strategies-types.ts:47
  • +
    + +
    medWaitTime?: boolean
    +

    Use tasks median wait time instead of average runtime.

    + +

    Default Value

    false

    +
    weights?: Record<number, number>
    @@ -54,7 +64,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:60