X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=517fd93583c5c17aa2347b3a84185c4f2948b069;hb=04212af7b1a1494ff58da58c9e5b3397d25f18b7;hp=ac2afe4a6c15b6e8beb240cffaafb2ef501a5a6f;hpb=56960396878dec81e3ebeea5b76387efca8cc2dc;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index ac2afe4a..517fd935 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,217 +1,42 @@ -
Optional
enablePool events emission.
- -true
-Optional
Experimental
enablePool worker tasks queue.
- -false
-Optional
envKey/value pairs to add to worker process environment.
- -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.
-Optional
messageA function that will listen for message event on each worker.
-Optional
onlineA function that will listen for online event on each worker.
-Optional
settingsOptional
Experimental
tasksPool worker tasks queue options.
-Optional
workerThe worker choice strategy to use in this pool.
-Optional
workerThe worker choice strategy options.
-Generated using TypeDoc
Options for a poolifier cluster pool.
+Optional
enablePool events integrated with async resource emission.
+true
+
+Optional
enablePool worker node tasks queue.
+false
+
+Optional
envKey/value pairs to add to worker process environment.
+Optional
errorA function that will listen for error event on each worker.
+() => {}
Optional
exitA function that will listen for exit event on each worker.
+() => {}
Optional
messageA function that will listen for message event on each worker.
+() => {}
Optional
onlineA function that will listen for online event on each worker.
+() => {}
Optional
restartRestart worker on error.
+Optional
settingsCluster settings.
+Optional
startWhether to start the minimum number of workers at pool initialization.
+true
+
+Optional
tasksPool worker node tasks queue options.
+Optional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
+
+Optional
workerThe worker choice strategy options.
+Generated using TypeDoc
Options for a poolifier cluster pool.
-