X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=980142615074c3ca3a0bf77b3419747e8146452f;hb=f3827d5d6aa98c2dfe3f2c267f3397c121bfc271;hp=f5cf8b783bd8be506e93e3ebe288cb74d8200a84;hpb=0e502832d98443e291ea5558423ca0de86b96e13;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index f5cf8b78..98014261 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
envhttps://nodejs.org/api/cluster.html#cluster_cluster_fork_env
Optional
errorA function that will listen for error event on each worker.
Optional
exitA function that will listen for exit event on each worker.
() => {}
Inherited from PoolOptions.exitHandler
Optional
messageA function that will listen for message event on each worker.
() => {}
Inherited from PoolOptions.messageHandler
Optional
onlineA function that will listen for online event on each worker.
() => {}
Inherited from PoolOptions.onlineHandler
Optional
restartInherited from PoolOptions.restartWorkerOnError
Optional
settingshttps://nodejs.org/api/cluster.html#cluster_cluster_settings
Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Inherited from PoolOptions.startWorkers
+Optional
tasksInherited from PoolOptions.tasksQueueOptions
Optional
workerThe worker choice strategy to use in this pool.
WorkerChoiceStrategies.ROUND_ROBIN
+Default Value
WorkerChoiceStrategies.ROUND_ROBIN
Inherited from PoolOptions.workerChoiceStrategy
Optional
workerInherited from PoolOptions.workerChoiceStrategyOptions
Generated using TypeDoc
Pool events emission.
+Pool events integrated with async resource emission.
Default Value
Optional
enable