X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=99fcd86d4d503ad9d36b4b5440d55ba53fc1316e;hb=d912486e16e6971854a0118268bc6d13a0291466;hp=8c78b220901e7fbb73456f30474923bbf810eb45;hpb=54a050e93b47b8404861c70c07cee7da66a9ec72;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 8c78b220..99fcd86d 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,21 +1,21 @@ -WorkerChoiceStrategyOptions | poolifier - v3.1.10

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.

+WorkerChoiceStrategyOptions | poolifier - v4.0.10

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.

Default Value

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

Measurement to use in worker choice strategy supporting it.

-

Runtime options.

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

Measurement to use in worker choice strategy supporting it.

+

Runtime options.

Default Value

{ median: false }
 
-

Wait time options.

+

Wait time options.

Default Value

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

Worker weights to use for weighted round robin worker selection strategies. +

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 +
\ No newline at end of file