X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=6a9ddaf765bdf5a986e1cc3dd700d98f317988a3;hb=b83746e48f09324273c37450e1adefbd4c13efe3;hp=c6e521b9f77a71add0bda21472331ee12e884fb2;hpb=3fca3a00e737361a87f923cc85fc027cd06e347d;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index c6e521b9..6a9ddaf7 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,21 +1,21 @@ -
Optional
Readonly
eluEvent loop utilization options.
-{ median: false }
+WorkerChoiceStrategyOptions | poolifier - v4.0.13 Interface WorkerChoiceStrategyOptions
Worker choice strategy options.
+ interface WorkerChoiceStrategyOptions {
    elu?: MeasurementOptions;
    measurement?: "runTime" | "waitTime" | "elu";
    runTime?: MeasurementOptions;
    waitTime?: MeasurementOptions;
    weights?: Record<number, number>;
} Index
Properties
Properties
Optional
Readonly
elu
Event loop utilization options.
+Default Value
{ median: false }
-Optional
Readonly
measurement
measurement?: "runTime" | "waitTime" | "elu"Measurement to use in worker choice strategy supporting it.
-Optional
Readonly
run Time
Runtime options.
-Default Value
{ median: false }
+
Optional
Readonly
measurement
measurement?: "runTime" | "waitTime" | "elu"Measurement to use in worker choice strategy supporting it.
+Optional
Readonly
run Time
Runtime options.
+Default Value
{ median: false }
-Optional
Readonly
wait Time
Wait time options.
-Default Value
{ median: false }
+
Optional
Readonly
wait Time
Wait time options.
+Default Value
{ median: false }
-Optional
weights
weights?: Record<number, number>Worker weights to use for weighted round robin worker selection strategies.
+
Optional
weights
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.
+
Default Value
Weights computed automatically given the CPU performance.
-Generated using TypeDoc
\ No newline at end of file
+
Worker choice strategy options.
-