diff options
Diffstat (limited to 'includes/installer/MysqlUpdater.php')
-rw-r--r-- | includes/installer/MysqlUpdater.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/installer/MysqlUpdater.php b/includes/installer/MysqlUpdater.php index 4813beabe533..10fed319f137 100644 --- a/includes/installer/MysqlUpdater.php +++ b/includes/installer/MysqlUpdater.php @@ -836,7 +836,7 @@ class MysqlUpdater extends DatabaseUpdater { foreach ( $res as $row ) { $count = ( $count + 1 ) % 100; if ( $count == 0 ) { - wfWaitForSlaves(); + wfGetLBFactory()->waitForReplication( array( 'wiki' => wfWikiID() ) ); } $this->db->insert( 'templatelinks', array( |