X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=1dceb4209f94a653141b7efca66f56f1ab120d83;hb=95c333666812f5db34b93c20d8851f2755d1c920;hp=54c1ba49845873d0ffef406d53f4a3bbb11ae241;hpb=7e36fa9f0f844e3e60f0c22de3e28665dd8cc9d1;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 54c1ba49..2548dabb 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+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.
-Inherited from PoolOptions.onlineHandler
Optional
settingsOptional
restartRestart worker on error.
+Inherited from PoolOptions.restartWorkerOnError
+Optional
settingsOptional
Experimental
tasksPool worker tasks queue options.
-Optional
tasksPool worker node tasks queue options.
+Inherited from PoolOptions.tasksQueueOptions
Optional
workerOptional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
Inherited from PoolOptions.workerChoiceStrategy
Optional
workerOptional
workerThe worker choice strategy options.
-Inherited from PoolOptions.workerChoiceStrategyOptions
Generated using TypeDoc
Options for a poolifier cluster pool.
-