Use vslow in tagUsageStatistics
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 16 Apr 2015 03:01:21 +0000 (20:01 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 16 Apr 2015 03:01:21 +0000 (20:01 -0700)
Change-Id: If3e76b1ba560eac6e4073f12c9dfa5becb75b6e0

includes/ChangeTags.php

index e2ef75e..43f957c 100644 (file)
@@ -1197,7 +1197,7 @@ class ChangeTags {
 
                $out = array();
 
-               $dbr = wfGetDB( DB_SLAVE );
+               $dbr = wfGetDB( DB_SLAVE, 'vslow' );
                $res = $dbr->select(
                        'change_tag',
                        array( 'ct_tag', 'hitcount' => 'count(*)' ),