X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=260f0cc4a793a9dffd3cfb24e0bd8f7078074830;hb=cf42a4cf7d6702c084f6607522e1683deaf7bca2;hp=db92ce31bc01b6213ec26665fd6966bf8fa6c86b;hpb=bc3a52f66e9ffce3a796dcd72fef135852fc76b0;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index db92ce31..260f0cc4 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,21 +1,21 @@ -WorkerChoiceStrategyOptions | poolifier - v3.1.18

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 }
+WorkerChoiceStrategyOptions | poolifier - v4.0.11

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.

-

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 }
+

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