X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=7677692bafc687feedd5bb3efaea6f52583896a6;hb=251f00002de4b63608419812ac911e142c2fa000;hp=e6fc52ce14149dafd9db8c9911652025c8ee3185;hpb=40baeb4e66efa6646d3221029cd012fb7bda8955;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index e6fc52ce..7677692b 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+true
Optional
Experimental
enableOptional
enablePool worker tasks queue.
- -false
+false
Optional
envOptional
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
settingsOptional
restartRestart worker on error.
+Inherited from PoolOptions.restartWorkerOnError
+Optional
settingsOptional
workerOptional
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
Optional
workerOptional
workerThe worker choice strategy options.
-Inherited from PoolOptions.workerChoiceStrategyOptions
Generated using TypeDoc
Options for a poolifier cluster pool.
-