X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fapi.md;h=1b888173d13db4519a17dd786364ca3cd6247d8b;hb=7852d4885f5cf93f22eade3d335d80cde0a67391;hp=dd9f833c711b602948d2afa0dda5f2729f7473cb;hpb=181af286689e0b42fcac115ace6541364a943af2;p=poolifier.git diff --git a/docs/api.md b/docs/api.md index dd9f833c..1b888173 100644 --- a/docs/api.md +++ b/docs/api.md @@ -98,7 +98,7 @@ An object with these properties: - `workerChoiceStrategy` (optional) - The default worker choice strategy to use in this pool: - `WorkerChoiceStrategies.ROUND_ROBIN`: Submit tasks to worker in a round robin fashion - - `WorkerChoiceStrategies.LEAST_USED`: Submit tasks to the worker with the minimum number of executed, executing and queued tasks + - `WorkerChoiceStrategies.LEAST_USED`: Submit tasks to the worker with the minimum number of executing and queued tasks - `WorkerChoiceStrategies.LEAST_BUSY`: Submit tasks to the worker with the minimum tasks total execution and wait time - `WorkerChoiceStrategies.LEAST_ELU`: Submit tasks to the worker with the minimum event loop utilization (ELU) - `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN`: Submit tasks to worker by using a [weighted round robin scheduling algorithm](./worker-choice-strategies.md#weighted-round-robin) based on tasks execution time