X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fapi.md;h=f9af05a73780e225d50f0b97ebbbca4f35a433c3;hb=7bd6cc7e58e7f9b5894eaabbd2020fff17e77bd0;hp=91185f77d7abb7bbc9acbd306251dbcb9e62b041;hpb=25926072f5397949802f6af5a2f7d49d6f15cacc;p=poolifier.git diff --git a/docs/api.md b/docs/api.md index 91185f77..f9af05a7 100644 --- a/docs/api.md +++ b/docs/api.md @@ -136,8 +136,8 @@ 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. - - `tasksStealingOnBackPressure` (optional) - Tasks stealing enablement on back pressure. + - `taskStealing` (optional) - Task stealing enablement on empty queue. + - `tasksStealingOnBackPressure` (optional) - Tasks stealing enablement under back pressure. Default: `{ size: (pool maximum size)^2, concurrency: 1, taskStealing: true, tasksStealingOnBackPressure: true }`