X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=451b3e56893a11cb3c43973b689a8a0cd755328e;hb=6fc738b4993702ad7c2269e061ea005d95085747;hp=9d1adb8e2501a8f3fb3e8e4cb3bda1da12b0a659;hpb=65ec4e64a4690b019d3ef86c97aa7182b715f539;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 9d1adb8e..451b3e56 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,13 +1,13 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+true
+
Optional
enableOptional
enablePool worker tasks queue.
- -false
+Pool worker node tasks queue.
+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.
+() => {}
Optional
onlineOptional
onlineA function that will listen for online event on each worker.
+() => {}
Optional
restartRestart worker on error.
+Optional
settingsOptional
settingsOptional
startWhether to start the minimum number of workers at pool initialization.
+true
+
Optional
tasksOptional
tasksPool worker tasks queue options.
-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
Generated using TypeDoc
+ \ No newline at end of file
Options for a poolifier cluster pool.
-