From: Jérôme Benoit Date: Sat, 10 Jun 2023 10:28:44 +0000 (+0200) Subject: docs: refine README X-Git-Tag: v2.6.1~10 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=92e7183f70b5d1ccf17290406748369635c1b7c7;p=poolifier.git docs: refine README Signed-off-by: Jérôme Benoit --- diff --git a/README.md b/README.md index 6f94626a..6fdac382 100644 --- a/README.md +++ b/README.md @@ -196,11 +196,11 @@ An object with these properties: Default: `{ concurrency: 1 }` -#### `ThreadPoolOptions` +#### `ThreadPoolOptions extends PoolOptions` - `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. -#### `ClusterPoolOptions` +#### `ClusterPoolOptions extends PoolOptions` - `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.