X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=52650f3e72b10aa40fc4bd427206e634ca836ad1;hb=ace229a1b5029d3acaeeb4e8abdab415de5318f1;hp=1b7e641b40bd27313756961437e09f1ab5a9db0c;hpb=0567595a23237d7b0e4bc0ec70c8e313eb71bb10;p=poolifier.git diff --git a/README.md b/README.md index 1b7e641b..52650f3e 100644 --- a/README.md +++ b/README.md @@ -162,8 +162,8 @@ Node versions >= 16.14.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.14.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 }`