X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fapi.md;h=1848c1306016fc9e9a780ba8d712704fe3f6efad;hb=ea32bc143da7ccccd268efc17e959cac3fdc82d4;hp=7b3766e72cc0978901ac6df7ddfd70bcc9d826ef;hpb=8990357d855c45cd0063f24092bb58b4163ddb0a;p=poolifier.git diff --git a/docs/api.md b/docs/api.md index 7b3766e7..1848c130 100644 --- a/docs/api.md +++ b/docs/api.md @@ -93,7 +93,7 @@ An object with these properties: - `tasksQueueOptions` (optional) - The worker tasks queue options object to use in this pool. Properties: - - `concurrency` (optional) - The maximum number of tasks that can be executed concurrently on a worker. + - `concurrency` (optional) - The maximum number of tasks that can be executed concurrently on a worker. It must be a positive integer. Default: `{ concurrency: 1 }`