X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=3dee27044bcff10f5b489258dd09ae525060a5ff;hb=224d008191f52fa20b93e1ba67919569f8d6e315;hp=e205258c2ab3f0655c1c81343ad43a490febbe68;hpb=a84c4698b83aaa02b9f10e52aa9c76eff5b5871f;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index e205258c..9146660c 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,195 +1,25 @@ -WorkerChoiceStrategyOptions | poolifier - v2.6.35
-
- -
-
-
-
- -

Interface WorkerChoiceStrategyOptions

-
-

Worker choice strategy options.

-
-
-
-

Hierarchy

-
    -
  • WorkerChoiceStrategyOptions
-
-
-
- -
-
-

Properties

-
- -
choiceRetries?: number
-

Number of worker choice retries to perform if no worker is eligible.

-
-
-

Default Value

6

-
-
- - -

Event loop utilization options.

-
-
-

Default Value

{ median: false }

-
-
- -
measurement?: "runTime" | "waitTime" | "elu"
-

Measurement to use in worker choice strategy supporting it.

-
-
-
- - -

Runtime options.

-
-
-

Default Value

{ median: false }

-
-
- - -

Wait time options.

-
-
-

Default Value

{ median: false }

-
-
- -
weights?: Record<number, number>
-

Worker weights to use for weighted round robin worker selection strategies. +WorkerChoiceStrategyOptions | poolifier - v4.0.15

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

+
interface WorkerChoiceStrategyOptions {
    elu?: MeasurementOptions;
    measurement?: "runTime" | "waitTime" | "elu";
    runTime?: MeasurementOptions;
    waitTime?: MeasurementOptions;
    weights?: Record<number, number>;
}

Properties

Event loop utilization options.

+
{ median: false }
+
+ +
measurement?: "runTime" | "waitTime" | "elu"

Measurement to use in worker choice strategy supporting it.

+

Runtime options.

+
{ median: false }
+
+ +

Wait time options.

+
{ median: false }
+
+ +
weights?: Record<number, number>

Worker weights to use for weighted round robin worker selection strategies. A weight is tasks maximum execution time in milliseconds for a worker node.

-
-
-

Default Value

Weights computed automatically given the CPU performance.

-
-
-
-

Generated using TypeDoc

-
\ No newline at end of file +
Weights computed automatically given the CPU performance.
+
+ +
\ No newline at end of file