X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fapi.md;h=f9af05a73780e225d50f0b97ebbbca4f35a433c3;hb=9d96ba4ea0e2e4b06216657cb1641551b59f58ee;hp=91185f77d7abb7bbc9acbd306251dbcb9e62b041;hpb=b560403426309944ad775794161773a745263190;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 }`