EBernhardson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/244744

Change subject: The replica count can also be false to disable replicas
......................................................................

The replica count can also be false to disable replicas

Change-Id: I44c84a52a6e7387e6ae4596d397bba36024cca0c
---
M includes/ClusterSettings.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch 
refs/changes/44/244744/1

diff --git a/includes/ClusterSettings.php b/includes/ClusterSettings.php
index f32a04d..7233bf5 100644
--- a/includes/ClusterSettings.php
+++ b/includes/ClusterSettings.php
@@ -46,7 +46,7 @@
 
        /**
         * @param string $indexType
-        * @return string Number of replicas Elasticsearch can expand or 
contract to.
+        * @return string|false Number of replicas Elasticsearch can expand or 
contract to.
         */
        public function getReplicaCount( $indexType ) {
                $settings = $this->config->get( 'CirrusSearchReplicas' );

-- 
To view, visit https://gerrit.wikimedia.org/r/244744
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I44c84a52a6e7387e6ae4596d397bba36024cca0c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: EBernhardson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to