Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorPHDConfigOptions.php
| Show All 28 Lines | return array( | ||||
| ->setLocked(true) | ->setLocked(true) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht('Directory that the daemons should use to store log files.')), | pht('Directory that the daemons should use to store log files.')), | ||||
| $this->newOption('phd.taskmasters', 'int', 4) | $this->newOption('phd.taskmasters', 'int', 4) | ||||
| ->setLocked(true) | ->setLocked(true) | ||||
| ->setSummary(pht('Maximum taskmaster daemon pool size.')) | ->setSummary(pht('Maximum taskmaster daemon pool size.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| 'Maximum number of taskmaster daemons to run at once. Raising '. | "Maximum number of taskmaster daemons to run at once. Raising ". | ||||
| 'this can increase the maximum throughput of the task queue. The '. | "this can increase the maximum throughput of the task queue. The ". | ||||
| 'pool will automatically scale down when unutilized.')), | "pool will automatically scale down when unutilized.". | ||||
| "\n\n". | |||||
| "If you are running a cluster, this limit applies separately ". | |||||
| "to each instance of `phd`. For example, if this limit is set ". | |||||
| "to `4` and you have three hosts running daemons, the effective ". | |||||
| "global limit will be 12.")), | |||||
| $this->newOption('phd.verbose', 'bool', false) | $this->newOption('phd.verbose', 'bool', false) | ||||
| ->setLocked(true) | ->setLocked(true) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht('Verbose mode'), | pht('Verbose mode'), | ||||
| pht('Normal mode'), | pht('Normal mode'), | ||||
| )) | )) | ||||
| ->setSummary(pht("Launch daemons in 'verbose' mode by default.")) | ->setSummary(pht("Launch daemons in 'verbose' mode by default.")) | ||||
| ▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines | |||||