X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FClusterPoolOptions.html;h=f6b6fa26b60e1694fcc406bde1ff32ffd725cb71;hb=c9f8e5d3a3d92ae49257929ad172afc1e9c5630d;hp=6cce306ddcf5adbf7df0fe29744e7c7ce18e65f9;hpb=a75da00c7b8dbbb148d2cf2472ce73e4201d9a4a;p=poolifier.git diff --git a/docs/interfaces/ClusterPoolOptions.html b/docs/interfaces/ClusterPoolOptions.html index 6cce306d..f6b6fa26 100644 --- a/docs/interfaces/ClusterPoolOptions.html +++ b/docs/interfaces/ClusterPoolOptions.html @@ -1,4 +1,4 @@ -
Optional
enableOptional
enablePool events emission.
- -true
+true
Optional
envOptional
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
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.
+Inherited from PoolOptions.restartWorkerOnError
+Optional
settingsOptional
workerOptional
tasksPool worker tasks queue options.
+Inherited from PoolOptions.tasksQueueOptions
+Optional
workerThe worker choice strategy to use in this pool.
+WorkerChoiceStrategies.ROUND_ROBIN
Inherited from PoolOptions.workerChoiceStrategy
Generated using TypeDoc
Options for a poolifier cluster pool.
-