X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=9146660c333fc410f07630943d42951d7a8a9b26;hb=224d008191f52fa20b93e1ba67919569f8d6e315;hp=2432dd3c24b44dd98402bc3c6c7c2d96bd2615ef;hpb=f8b3d84c1c95773a1e18d2c025d89d73c4f2ab15;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 2432dd3c..9146660c 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,21 +1,25 @@ -WorkerChoiceStrategyOptions | poolifier - v3.1.11

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

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

Hierarchy

Properties

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