X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=fa472042b38f867860ecc93d0038322bcd8971f7;hb=1d9f69fa27366fd18f2600beeee89187306df22a;hp=cecefd9c851e866059103a61916632aea8c8de20;hpb=23d03397abcbf7274ba08acf89728bcaf32f0f6f;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index cecefd9c..fa472042 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.
-Inherited from PoolOptions.messageHandler
Optional
onlineOptional
onlineA function that will listen for online event on each worker.
-Inherited from PoolOptions.onlineHandler
Optional
settingsOptional
restartRestart worker on error.
+Inherited from PoolOptions.restartWorkerOnError
+Optional
settingsOptional
Experimental
tasksOptional
tasksPool worker tasks queue options.
-Inherited from PoolOptions.tasksQueueOptions
Optional
workerOptional
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.
-