X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=3b40a5dab45fb5bd34c801cacbbc2df1e358fe66;hb=3aa8d6646706dd32bbd96795330f0a5365d52efa;hp=8e7ad73240b52db7c3aec38133f251c237209b73;hpb=83924e2a6d515666785c4e222cc3aacee32e11ce;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 8e7ad732..3b40a5da 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,160 +1,21 @@ -
Optional
Readonly
eluEvent loop utilization options.
-{ median: false }
+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>;
} 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?: number
-Number 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
+
Worker choice strategy options.
-