X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=847c1000e6ef06ff8622cd7516cc14499f99146c;hb=c97a785f1274883c88a77d2bf418ba6480d20d04;hp=3febd8f6829975573f21dd12fc3335d299ad3897;hpb=184d530faf6acf70e116cb4a3fb831938b73e2c0;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 3febd8f6..847c1000 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
restartOptional
restartRestart worker on error.
-Inherited from PoolOptions.restartWorkerOnError
Optional
settingsOptional
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.
-