X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=23a45acc624ec801c8e0e3458f58a984821e62da;hb=ccb7d1a70cd9bd4eb050160517e5bc48311d014f;hp=a862658a98c7075a64441eac79e9675d54c493d9;hpb=86f5c6c11d0a262b6514b95928b2534eecc37a4e;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index a862658a..23a45acc 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,18 +32,39 @@

    Properties

    Properties

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

    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.

    +