Use a replica dedicated to slow queries (if available)

Bug: T187880
Change-Id: I2987b5ae9446cb0bf503978ee62861f2f969b1df
This commit is contained in:
Niklas Laxström
2018-02-21 16:11:08 +01:00
parent b02cfed1c4
commit 9fc7ad5d84

View File

@@ -31,7 +31,7 @@ class ULSCompactLinksDisablePref extends Maintenance {
} }
public function execute() { public function execute() {
$dbr = wfGetDB( DB_REPLICA ); $dbr = wfGetDB( DB_REPLICA, 'vslow' );
$this->really = $this->hasOption( 'really' ); $this->really = $this->hasOption( 'really' );