X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FInternalWorkerChoiceStrategyOptions.html;h=b01c3cd4db9415c6ac5af2b5c745c2e0be3dd7f2;hb=56412ef4b887d47dff2eb81205686174f3a860aa;hp=01bbc6d3bd8d03c358c8e7d338338886ac8f9d3d;hpb=238a6a36482b3cf82d1f984f0bdd7d296a2f4ba1;p=poolifier.git diff --git a/docs/interfaces/InternalWorkerChoiceStrategyOptions.html b/docs/interfaces/InternalWorkerChoiceStrategyOptions.html index 01bbc6d3..b01c3cd4 100644 --- a/docs/interfaces/InternalWorkerChoiceStrategyOptions.html +++ b/docs/interfaces/InternalWorkerChoiceStrategyOptions.html @@ -1,5 +1,5 @@ -InternalWorkerChoiceStrategyOptions | poolifier - v3.1.12

Interface InternalWorkerChoiceStrategyOptionsInternal

Worker choice strategy internal options.

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

Hierarchy

Properties

elu? +InternalWorkerChoiceStrategyOptions | poolifier - v3.1.13

Interface InternalWorkerChoiceStrategyOptionsInternal

Worker choice strategy internal options.

+
interface InternalWorkerChoiceStrategyOptions {
    elu?: MeasurementOptions;
    measurement?: "runTime" | "waitTime" | "elu";
    retries?: number;
    runTime?: MeasurementOptions;
    waitTime?: MeasurementOptions;
    weights?: Record<number, number>;
}

Hierarchy

Properties

elu? measurement? retries? runTime? @@ -8,18 +8,18 @@

Properties

Event loop utilization options.

Default Value

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

Measurement to use in worker choice strategy supporting it.

-
retries?: number

Number of worker choice retries to perform if no worker is eligible.

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

Measurement to use in worker choice strategy supporting it.

+
retries?: number

Number of worker choice retries to perform if no worker is eligible.

Default Value

pool maximum size
 
-

Runtime options.

+

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.
 
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file