From: Reedy Date: Mon, 25 Feb 2013 23:57:31 +0000 (+0000) Subject: Add a wfWaitForSlaves() call at the end of sql.php X-Git-Tag: 1.31.0-rc.0~20577 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=9bdc558bc481218235b0b4f1b9c34ff6c86fd56c;p=lhc%2Fweb%2Fwiklou.git Add a wfWaitForSlaves() call at the end of sql.php Useful if you're doing queries over many wikis (wmf usage) that might induce some repllag Change-Id: I9818f1763d3330d0b96d9bb9c192a957293b6a5b --- diff --git a/maintenance/sql.php b/maintenance/sql.php index ef1ec541fd..1169990982 100644 --- a/maintenance/sql.php +++ b/maintenance/sql.php @@ -101,6 +101,7 @@ class MwSql extends Maintenance { $this->error( $e, $doDie ); } } + wfWaitForSlaves(); } /**