X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=0022b68077f4b847cef47235f19c12e610849be2;hb=ef9f489c870680b9a754ab8e5b142b3f042a9ebb;hp=1b46d7ec487b6e88d32555544d2dab503a9c86df;hpb=ed1ecf09c599769ed61771ec25d71c39c19ba70b;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 1b46d7ec..0022b680 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,15 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+true
Optional
envOptional
enablePool worker tasks queue.
+false
+Optional
envKey/value pairs to add to worker process environment.
- -https://nodejs.org/api/cluster.html#cluster_cluster_fork_env
+Optional
errorOptional
errorA function that will listen for error event on each worker.
-Optional
exitOptional
exitA function that will listen for exit event on each worker.
-Optional
messageOptional
messageA function that will listen for message event on each worker.
-Optional
onlineOptional
onlineA function that will listen for online event on each worker.
-Optional
workerOptional
restartRestart worker on error.
+Inherited from PoolOptions.restartWorkerOnError
+Optional
settingsCluster settings.
+Optional
tasksPool worker tasks queue options.
+Inherited from PoolOptions.tasksQueueOptions
+Optional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
Inherited from PoolOptions.workerChoiceStrategy
Generated using TypeDoc
Options for a poolifier cluster pool.
-