X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=52650f3e72b10aa40fc4bd427206e634ca836ad1;hb=a85e62704fb177dc2cafc88915a6590d1bf179b5;hp=18b0d78a10645439c47d226e9a7587dbfc0fdcbc;hpb=644992db7bd22ca02c9610f7d622d7973f861d0b;p=poolifier.git diff --git a/README.md b/README.md index 18b0d78a..52650f3e 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,7 @@ Remember that workers can only send and receive serializable data. ## Node versions -Node versions >= 16.x are supported. +Node versions >= 16.14.x are supported. ## [API](https://poolifier.github.io/poolifier/) @@ -162,8 +162,8 @@ Node versions >= 16.x are supported. - `workerChoiceStrategy` (optional) - The worker choice strategy to use in this pool: - `WorkerChoiceStrategies.ROUND_ROBIN`: Submit tasks to worker in a round robbin fashion - - `WorkerChoiceStrategies.LESS_USED`: Submit tasks to the less used worker - - `WorkerChoiceStrategies.LESS_BUSY`: Submit tasks to the less busy worker + - `WorkerChoiceStrategies.LEAST_USED`: Submit tasks to the least used worker + - `WorkerChoiceStrategies.LEAST_BUSY`: Submit tasks to the least busy worker - `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN`: Submit tasks to worker using a weighted round robin scheduling algorithm based on tasks execution time - `WorkerChoiceStrategies.FAIR_SHARE`: Submit tasks to worker using a fair share tasks scheduling algorithm based on tasks execution time @@ -173,7 +173,7 @@ Node versions >= 16.x are supported. - `workerChoiceStrategyOptions` (optional) - The worker choice strategy options object to use in this pool. Properties: - - `medRunTime` (optional) - Use the tasks median run time instead of the tasks average run time in worker choice strategies. + - `medRunTime` (optional) - Use the tasks median runtime instead of the tasks average runtime in worker choice strategies. - `weights` (optional) - The worker weights to use in the weighted round robin worker choice strategy: `{ 0: 200, 1: 300, ..., n: 100 }` Default: `{ medRunTime: false }`