X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=323fb11355dcadd0ee8ff28bbb7bdad8be3b2e81;hb=25926072f5397949802f6af5a2f7d49d6f15cacc;hp=3ea16b13221f955e70d9c1beac9692a7c6b83933;hpb=6d59ea2c71b8a88d41498c6fb54dfad95fd3a3ac;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 3ea16b13..323fb113 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enableOptional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Inherited from PoolOptions.startWorkers
+Optional
tasksPool worker tasks queue options.
+Pool worker node tasks queue options.
Inherited 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.
+Pool events integrated with async resource emission.
Default Value
true
+Default Value
Optional
enablePool worker tasks queue.
+Pool worker node tasks queue.
Default Value
false
+Default Value
Optional
envSee
https://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.
Default Value
+() => {}
Inherited from PoolOptions.exitHandler
-- Defined in src/pools/pool.ts:118
Optional
messageA function that will listen for message event on each worker.
Default Value
+() => {}
Inherited from PoolOptions.messageHandler
-- Defined in src/pools/pool.ts:106
Optional
onlineA function that will listen for online event on each worker.
Default Value
+() => {}
Inherited from PoolOptions.onlineHandler
-- Defined in src/pools/pool.ts:114
Optional
restartInherited from PoolOptions.restartWorkerOnError
-- Defined in src/pools/pool.ts:132
Optional
settingsSee
https://nodejs.org/api/cluster.html#cluster_cluster_settings