X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=b86fa66c8c615a218d17788fc9d026140ff507f8;hb=0eb836fa3f5683400594b9c595650b49ff8ae0ac;hp=e0a6b5d08e7c81aeb5ccdfcac9da064e9634aa56;hpb=67a6f2fa4500ca41675aaec32730093d312a351d;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index e0a6b5d0..b86fa66c 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+true
Optional
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
tasksOptional
tasksPool worker tasks queue options.
-Inherited from PoolOptions.tasksQueueOptions
Optional
workerOptional
workerThe worker choice strategy to use in this pool.
- -WorkerChoiceStrategies.ROUND_ROBIN
+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.
-