X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerChoiceStrategyOptions.html;h=0c45d1b5ef701db6f1c51832381ae74b0be0e3ae;hb=be55f2ca8b4792c645c4aaee38f0e3471a1efcb2;hp=93d49465286efb5565c0d86843f18de1212e39c5;hpb=06fa9e0de6b62965c9dd2fe6023e943f35775026;p=poolifier.git diff --git a/docs/interfaces/WorkerChoiceStrategyOptions.html b/docs/interfaces/WorkerChoiceStrategyOptions.html index 93d49465..0c45d1b5 100644 --- a/docs/interfaces/WorkerChoiceStrategyOptions.html +++ b/docs/interfaces/WorkerChoiceStrategyOptions.html @@ -1,108 +1,25 @@ -WorkerChoiceStrategyOptions | poolifier
-
- -
-
-
-
- -

Interface WorkerChoiceStrategyOptions

-
-

Worker choice strategy options.

-
-
-

Hierarchy

-
    -
  • WorkerChoiceStrategyOptions
-
-
-
- -
-
-

Properties

-
-
-

Properties

-
- -
medRunTime?: boolean
-

Use tasks median run time instead of average run time.

-
-
- -
-
-

Generated using TypeDoc

-
\ No newline at end of file +WorkerChoiceStrategyOptions | poolifier - v3.0.5

Interface WorkerChoiceStrategyOptions

Worker choice strategy options.

+

Hierarchy

  • WorkerChoiceStrategyOptions

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

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