X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=README.md;h=1a311e4d5fcec3b0a46125e11ffb42f7853b18d3;hb=e5485529f55e74a710e99fa350c45e75f5d1eb7f;hp=52650f3e72b10aa40fc4bd427206e634ca836ad1;hpb=e4543b1428fd6b52f5832ea75f21ac082b52684e;p=poolifier.git diff --git a/README.md b/README.md index 52650f3e..1a311e4d 100644 --- a/README.md +++ b/README.md @@ -165,6 +165,7 @@ Node versions >= 16.14.x are supported. - `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.INTERLEAVED_WEIGHTED_ROUND_ROBIN`: Submit tasks to worker using an interleaved weighted round robin scheduling algorithm based on tasks execution time (experimental) - `WorkerChoiceStrategies.FAIR_SHARE`: Submit tasks to worker using a fair share tasks scheduling algorithm based on tasks execution time `WorkerChoiceStrategies.WEIGHTED_ROUND_ROBIN` and `WorkerChoiceStrategies.FAIR_SHARE` strategies are targeted to heavy and long tasks. @@ -178,6 +179,8 @@ Node versions >= 16.14.x are supported. Default: `{ medRunTime: false }` +- `restartWorkerOnError` (optional) - Restart worker on uncaught error in this pool. + Default: true - `enableEvents` (optional) - Events emission enablement in this pool. Default: true - `enableTasksQueue` (optional) - Tasks queue per worker enablement in this pool.