From: Jérôme Benoit Date: Wed, 7 Jun 2023 21:12:25 +0000 (+0200) Subject: docs: refine README X-Git-Tag: v2.6.0~20 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=430745c932edd4c3570d6483726911c648a8333b;p=poolifier.git docs: refine README Signed-off-by: Jérôme Benoit --- diff --git a/README.md b/README.md index b9c0dbd2..4c7b33a9 100644 --- a/README.md +++ b/README.md @@ -192,15 +192,15 @@ An object with these properties: Default: `{ concurrency: 1 }` - #### Thread pool specific options +#### Thread pool specific options - - `workerOptions` (optional) - An object with the worker options. See [worker_threads](https://nodejs.org/api/worker_threads.html#worker_threads_new_worker_filename_options) for more details. +- `workerOptions` (optional) - An object with the worker options. See [worker_threads](https://nodejs.org/api/worker_threads.html#worker_threads_new_worker_filename_options) for more details. - #### Cluster pool specific options +#### Cluster pool specific options - - `env` (optional) - An object with the environment variables to pass to the worker. See [cluster](https://nodejs.org/api/cluster.html#cluster_cluster_fork_env) for more details. +- `env` (optional) - An object with the environment variables to pass to the worker. See [cluster](https://nodejs.org/api/cluster.html#cluster_cluster_fork_env) for more details. - - `settings` (optional) - An object with the cluster settings. See [cluster](https://nodejs.org/api/cluster.html#cluster_cluster_settings) for more details. +- `settings` (optional) - An object with the cluster settings. See [cluster](https://nodejs.org/api/cluster.html#cluster_cluster_settings) for more details. ### `pool = new FixedThreadPool/FixedClusterPool(numberOfThreads/numberOfWorkers, filePath, opts)`