X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=9a182c090798f3d466d8952726d85bab86f9070c;hb=5497d426557f576e3ee314619f83b71685acc6bc;hp=347d2b96483e48b9aa9c2b048c9ca84d723af5ae;hpb=fb04552b8956b5f6b2dce0ce68cdfe27c798ae2f;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 347d2b96..9a182c09 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -
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
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
Generated using TypeDoc
Options for a poolifier cluster pool.
-