X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=323fb11355dcadd0ee8ff28bbb7bdad8be3b2e81;hb=25926072f5397949802f6af5a2f7d49d6f15cacc;hp=f1ecc7e1da27aa78a955b51d37a8a5fa98bb5a90;hpb=881050e41e8c464ce0c3537d05898bd42ed87631;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index f1ecc7e1..323fb113 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,15 +1,15 @@ -
Optional
enablePool events emission.
- -true
+Optional
enablePool events integrated with async resource emission.
+true
+
Optional
envOptional
enablePool worker node tasks queue.
+false
+
+Optional
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
settingsOptional
restartRestart worker on error.
+Optional
settingsOptional
startWhether to start the minimum number of workers at pool initialization.
+true
+
Optional
workerOptional
tasksPool worker node tasks queue options.
+Optional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
+
Generated using TypeDoc
Generated using TypeDoc
Options for a poolifier cluster pool.
-