Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/option/PhabricatorClusterConfigOptions.php
Show All 14 Lines | public function getIcon() { | ||||
return 'fa-sitemap'; | return 'fa-sitemap'; | ||||
} | } | ||||
public function getGroup() { | public function getGroup() { | ||||
return 'core'; | return 'core'; | ||||
} | } | ||||
public function getOptions() { | public function getOptions() { | ||||
$databases_type = 'custom:PhabricatorClusterDatabasesConfigOptionType'; | $databases_type = 'cluster.databases'; | ||||
$databases_help = $this->deformat(pht(<<<EOTEXT | $databases_help = $this->deformat(pht(<<<EOTEXT | ||||
WARNING: This is a prototype option and the description below is currently pure | WARNING: This is a prototype option and the description below is currently pure | ||||
fantasy. | fantasy. | ||||
This option allows you to make Phabricator aware of database read replicas so | This option allows you to make Phabricator aware of database read replicas so | ||||
it can monitor database health, spread load, and degrade gracefully to | it can monitor database health, spread load, and degrade gracefully to | ||||
read-only mode in the event of a failure on the primary host. For help with | read-only mode in the event of a failure on the primary host. For help with | ||||
configuring cluster databases, see **[[ %s | %s ]]** in the documentation. | configuring cluster databases, see **[[ %s | %s ]]** in the documentation. | ||||
EOTEXT | EOTEXT | ||||
, | , | ||||
PhabricatorEnv::getDoclink('Cluster: Databases'), | PhabricatorEnv::getDoclink('Cluster: Databases'), | ||||
pht('Cluster: Databases'))); | pht('Cluster: Databases'))); | ||||
$intro_href = PhabricatorEnv::getDoclink('Clustering Introduction'); | $intro_href = PhabricatorEnv::getDoclink('Clustering Introduction'); | ||||
$intro_name = pht('Clustering Introduction'); | $intro_name = pht('Clustering Introduction'); | ||||
$search_type = 'custom:PhabricatorClusterSearchConfigOptionType'; | $search_type = 'cluster.search'; | ||||
$search_help = $this->deformat(pht(<<<EOTEXT | $search_help = $this->deformat(pht(<<<EOTEXT | ||||
Define one or more fulltext storage services. Here you can configure which | Define one or more fulltext storage services. Here you can configure which | ||||
hosts will handle fulltext search queries and indexing. For help with | hosts will handle fulltext search queries and indexing. For help with | ||||
configuring fulltext search clusters, see **[[ %s | %s ]]** in the | configuring fulltext search clusters, see **[[ %s | %s ]]** in the | ||||
documentation. | documentation. | ||||
EOTEXT | EOTEXT | ||||
, | , | ||||
PhabricatorEnv::getDoclink('Cluster: Search'), | PhabricatorEnv::getDoclink('Cluster: Search'), | ||||
▲ Show 20 Lines • Show All 97 Lines • Show Last 20 Lines |