X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=83ec3f4cbcd1fda2c751029b62600be0a92963d1;hb=73d8141b526469f4fce46da956280f2b9146accb;hp=84a4859c8a82838f0884c86ba1725a263edb8d0d;hpb=3db6a2b42ee697b6f587b0f41020771941a65e68;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 84a4859c..83ec3f4c 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.

    +