X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=f6bb82dcd4198a6f5fb3ccfd531b8d4addc335ff;hb=aab0aa502b6d1ca1e2b480460d9cf5f34707c34c;hp=6bab763f2e7e09233622835bce9eea24385e8ad1;hpb=21402562176f7550bcd9ba620cf551972fca6e98;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 6bab763f..1dc5ba66 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
Experimental
enablePool worker tasks queue.
- -false
+Optional
enablePool 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
settingsOptional
restartRestart worker on error.
+Optional
settingsOptional
startWhether to start the minimum number of workers at pool initialization.
+true
+
Optional
tasksPool worker node tasks queue options.
+Optional
workerOptional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
+
Optional
workerOptional
workerThe worker choice strategy options.
-Generated using TypeDoc
Generated using TypeDoc
Options for a poolifier cluster pool.
-