X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=inline;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=2eef830a888232807366fa6ff5dc8a32dfe80ff6;hb=0b4e655ca22daa4e6efc10d4ef575520a3abfa2c;hp=92c4170a9fccaa9308f200e981b19c93bf19e43a;hpb=0bb3df76aeab8a2af9e99ccf91d9e9cc5e751674;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 92c4170a..2eef830a 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enabletrue
+true
+
Optional
enablePool worker node tasks queue.
false
+false
+
Optional
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
+WorkerChoiceStrategies.ROUND_ROBIN
+
Inherited from PoolOptions.workerChoiceStrategy
Optional
workerInherited from PoolOptions.workerChoiceStrategyOptions
Generated using TypeDoc
Generated using TypeDoc
+ \ No newline at end of file
Pool events emission.