X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fapi.md;h=28282ac2314bc05322098d09ad5ad0d08a163595;hb=99396c0781b474a7f0988413232357cd368881ab;hp=8b6ffeb91bb8d5c4627f46ac6a33e77361b1297c;hpb=5e4dbac9d427dcd0f6adf9eb84ebb92146d5e1f0;p=poolifier.git diff --git a/docs/api.md b/docs/api.md index 8b6ffeb9..28282ac2 100644 --- a/docs/api.md +++ b/docs/api.md @@ -136,7 +136,7 @@ An object with these properties: - `size` (optional) - The maximum number of tasks that can be queued on a worker before flagging it as back pressured. It must be a positive integer. - `concurrency` (optional) - The maximum number of tasks that can be executed concurrently on a worker. It must be a positive integer. - - `taskStealing` (optional) - Task stealing enablement on empty queue. + - `taskStealing` (optional) - Task stealing enablement on idle. - `tasksStealingOnBackPressure` (optional) - Tasks stealing enablement under back pressure. Default: `{ size: (pool maximum size)^2, concurrency: 1, taskStealing: true, tasksStealingOnBackPressure: true }`