X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=a990084fa19fbcf08488a76825bdb8efa33ebb07;hb=a3294554408b42a4df2e37eb69f9c8a554a0c2f3;hp=cfcdb5f7f855e3e90822fb09db2ffc0adb12bc0a;hpb=52589b47294bffa67444f0490c43476c95b19dc9;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index cfcdb5f7..a990084f 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,201 +1,25 @@ -WorkerChoiceStrategyOptions | poolifier - v2.6.38
-
- -
-
-
-
- -

Interface WorkerChoiceStrategyOptions

-
-

Worker choice strategy options.

-
-
-
-

Hierarchy

-
    -
  • WorkerChoiceStrategyOptions
-
-
-
- -
-
-

Properties

-
elu? +WorkerChoiceStrategyOptions | poolifier - v3.0.13

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

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

Properties

-
- - -

Event loop utilization options.

-
-
-

Default Value

{ median: false }
+

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.

-
-
-

Default Value

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

6
 
-
-
- - -

Runtime options.

-
-
-

Default Value

{ median: false }
+

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 +

Generated using TypeDoc

\ No newline at end of file