From: Sean Pringle Date: Tue, 10 Dec 2013 04:25:38 +0000 (+1000) Subject: identify LogPager queries for load balancing X-Git-Tag: 1.31.0-rc.0~17688^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=f49555f74cdc6ecb049f46a44c0cf7becf08bd3b;p=lhc%2Fweb%2Fwiklou.git identify LogPager queries for load balancing Change-Id: Ie89cd56700c3d6cbe19457b5b64576a71b3a9876 --- diff --git a/includes/logging/LogPager.php b/includes/logging/LogPager.php index d05355e507..b399732cdd 100644 --- a/includes/logging/LogPager.php +++ b/includes/logging/LogPager.php @@ -70,6 +70,8 @@ class LogPager extends ReverseChronologicalPager { $this->limitTitle( $title, $pattern ); $this->getDateCond( $year, $month ); $this->mTagFilter = $tagFilter; + + $this->mDb = wfGetDB( DB_SLAVE, 'logpager' ); } public function getDefaultQuery() {