X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=688e423d787e24e582a3e814b60d720cd8d0f76c;hb=3f925055203c44ba81dceba9a24616b0aeed3374;hp=a862658a98c7075a64441eac79e9675d54c493d9;hpb=4703c53b33791724a31462d7c6dabd43b0385f7c;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index a862658a..688e423d 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.

    +