Change "slave" => "replica DB" in /includes
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index 22b079d..2ce5120 100644 (file)
@@ -1322,7 +1322,7 @@ class ApiMain extends ApiBase {
                        }
                }
 
-               // If a majority of slaves are too lagged then disallow writes
+               // If a majority of replica DBs are too lagged then disallow writes
                $slaveCount = wfGetLB()->getServerCount() - 1;
                if ( $numLagged >= ceil( $slaveCount / 2 ) ) {
                        $laggedServers = implode( ', ', $laggedServers );