X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=9a44e279b082062d5f02afa6d1ce29600a5d2b31;hb=299b3d1f34f3447d752c3ea932179b2e7e81d8e4;hp=4a1c6ed12240575ef9e9e954495704a64dbdf7cf;hpb=b4e93467358d93166716dc6e5075d58c18c961c7;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 4a1c6ed1..9a44e279 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,25 +1,25 @@ -WorkerChoiceStrategyOptions | poolifier - v3.0.6

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

-

Hierarchy

  • WorkerChoiceStrategyOptions

Properties

elu? +WorkerChoiceStrategyOptions | poolifier - v3.0.8

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

+

Hierarchy

  • WorkerChoiceStrategyOptions

Properties

Event loop utilization options.

-

Default Value

{ median: false }
+

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

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

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file