X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=bd89a3e6c09ae07ecf8357859d0e6070d121f8bb;hb=adccd57c8a8885c4fbc1a061eef95947603337c6;hp=9893b5b7e4b1c6dc8b7fd38323e09d6813d93e4b;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 9893b5b7..bd89a3e6 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,204 +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.
-