From 9bdc558bc481218235b0b4f1b9c34ff6c86fd56c Mon Sep 17 00:00:00 2001 From: Reedy Date: Mon, 25 Feb 2013 23:57:31 +0000 Subject: [PATCH] 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 --- maintenance/sql.php | 1 + 1 file changed, 1 insertion(+) 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(); } /** -- 2.20.1