Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorPHDConfigOptions.php
| Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | return array( | ||||
| 'phd.verbose')), | 'phd.verbose')), | ||||
| $this->newOption('phd.variant-config', 'list<string>', array()) | $this->newOption('phd.variant-config', 'list<string>', array()) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| 'Specify config keys that can safely vary between the web tier '. | 'Specify config keys that can safely vary between the web tier '. | ||||
| 'and the daemons. Primarily, this is a way to suppress the '. | 'and the daemons. Primarily, this is a way to suppress the '. | ||||
| '"Daemons and Web Have Different Config" setup issue on a per '. | '"Daemons and Web Have Different Config" setup issue on a per '. | ||||
| 'config key basis.')), | 'config key basis.')), | ||||
| $this->newOption('phd.garbage-collection', 'wild', array()) | |||||
| ->setLocked(true) | |||||
| ->setLockedMessage( | |||||
| pht( | |||||
| 'This option can not be edited from the web UI. Use %s to adjust '. | |||||
| 'garbage collector policies.', | |||||
| phutil_tag('tt', array(), 'bin/garbage set-policy'))) | |||||
| ->setSummary(pht('Retention policies for garbage collection.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'Customizes retention policies for garbage collectors.')), | |||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||