From 9fc7ad5d8416fa1be8143e416c5cf2fd8307e56f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 21 Feb 2018 16:11:08 +0100 Subject: [PATCH] Use a replica dedicated to slow queries (if available) Bug: T187880 Change-Id: I2987b5ae9446cb0bf503978ee62861f2f969b1df --- maintenance/ULSCompactLinksDisablePref.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintenance/ULSCompactLinksDisablePref.php b/maintenance/ULSCompactLinksDisablePref.php index 96195563..ff182240 100644 --- a/maintenance/ULSCompactLinksDisablePref.php +++ b/maintenance/ULSCompactLinksDisablePref.php @@ -31,7 +31,7 @@ class ULSCompactLinksDisablePref extends Maintenance { } public function execute() { - $dbr = wfGetDB( DB_REPLICA ); + $dbr = wfGetDB( DB_REPLICA, 'vslow' ); $this->really = $this->hasOption( 'really' );