X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=116215749eaf8def961455084258b0d77eca0ea7;hb=110b6d1353482c5df5bead2389df395af9832bd3;hp=84a4859c8a82838f0884c86ba1725a263edb8d0d;hpb=3a592a1254b999797590d1b54662b747eed17528;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 84a4859c..11621574 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:35
  • @@ -32,6 +32,7 @@

    Properties

    Properties

    @@ -43,7 +44,17 @@

    Default Value

    false

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

    +