X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fapi.md;h=28282ac2314bc05322098d09ad5ad0d08a163595;hb=9cac2ec4bb5e2b21e873cadfa92097b7470e9527;hp=4a0a3eb253b1bc5159b6fffb1ccdfee381c7d629;hpb=9aa78bcb34d9d6002c71ce3de1ece85dd164871f;p=poolifier.git diff --git a/docs/api.md b/docs/api.md index 4a0a3eb2..28282ac2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -113,7 +113,7 @@ An object with these properties: - `workerChoiceStrategyOptions` (optional) - The worker choice strategy options object to use in this pool. Properties: - - `retries` (optional) - The number of retries to perform if no worker is eligible. `Infinity` means infinite retries. + - `retries` (optional) - The number of retries to perform if no worker is eligible. - `measurement` (optional) - The measurement to use in worker choice strategies: `runTime`, `waitTime` or `elu`. - `runTime` (optional) - Use the tasks [simple moving median](./worker-choice-strategies.md#simple-moving-median) runtime instead of the tasks simple moving average runtime in worker choice strategies. - `waitTime` (optional) - Use the tasks [simple moving median](./worker-choice-strategies.md#simple-moving-median) wait time instead of the tasks simple moving average wait time in worker choice strategies.