X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=9b4b194019e255080b23c00adbd199dad9128df6;hb=4c0150d9e2dd35dad0a3db431b751e160b4de368;hp=0c45d1b5ef701db6f1c51832381ae74b0be0e3ae;hpb=078116c1d8dde66831fcf40973059818592c8a88;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 0c45d1b5..9b4b1940 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,25 +1,21 @@ -
Optional
Readonly
eluEvent loop utilization options.
-{ median: false }
+WorkerChoiceStrategyOptions | poolifier - v3.1.29 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
retries
retries?: numberNumber of worker choice retries to perform if no worker is eligible.
-Default Value
6
+
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
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
Readonly
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
+
Generated using TypeDoc
Worker choice strategy options.
-