Wait for slaves after each page (from live patch).
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 30 Apr 2009 05:34:50 +0000 (05:34 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 30 Apr 2009 05:34:50 +0000 (05:34 +0000)
includes/RefreshLinksJob.php

index 91cff40..aba1836 100644 (file)
@@ -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;
        }