X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Fapi.md;h=458017a18d79ff284a479e16de94580befd44709;hb=e553964e607db2d8a5e2b908ac289dab68a78bb2;hp=634ab08bbf12b8b319007d3de176b46e26e47b17;hpb=b2940269c5ec28e8757fc775a3a8b9940fdbbc13;p=poolifier.git diff --git a/docs/api.md b/docs/api.md index 634ab08b..458017a1 100644 --- a/docs/api.md +++ b/docs/api.md @@ -137,7 +137,7 @@ An object with these properties: - `tasksStealingOnBackPressure` (optional) - Tasks stealing enablement under back pressure. - `tasksFinishedTimeout` (optional) - Queued tasks finished timeout in milliseconds at worker termination. - Default: `{ size: (pool maximum size)^2, concurrency: 1, taskStealing: true, tasksStealingOnBackPressure: true, tasksFinishedTimeout: 2000 }` + Default: `{ size: (pool maximum size)^2, concurrency: 1, taskStealing: true, tasksStealingOnBackPressure: false, tasksFinishedTimeout: 2000 }` - `workerOptions` (optional) - An object with the worker options to pass to worker. See [worker_threads](https://nodejs.org/api/worker_threads.html#worker_threads_new_worker_filename_options) for more details.