From: Tim Starling Date: Thu, 30 Apr 2009 05:34:50 +0000 (+0000) Subject: Wait for slaves after each page (from live patch). X-Git-Tag: 1.31.0-rc.0~41927 X-Git-Url: http://git.cyclocoop.org/data/%24self?a=commitdiff_plain;h=47cb80baa46d224e7844e49a6fedc284b78480ca;p=lhc%2Fweb%2Fwiklou.git Wait for slaves after each page (from live patch). --- diff --git a/includes/RefreshLinksJob.php b/includes/RefreshLinksJob.php index 91cff40b7a..aba18362c0 100644 --- a/includes/RefreshLinksJob.php +++ b/includes/RefreshLinksJob.php @@ -111,8 +111,9 @@ class RefreshLinksJob2 extends Job { $update = new LinksUpdate( $title, $parserOutput, false ); $update->doUpdate(); wfProfileOut( __METHOD__.'-update' ); - wfProfileOut( __METHOD__ ); + wfWaitForSlaves( 5 ); } + wfProfileOut( __METHOD__ ); return true; }