Merge "Fixes to MemcachedBagOStuff::makeKeyInternal()"
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 24 Oct 2015 05:44:05 +0000 (05:44 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 24 Oct 2015 05:44:05 +0000 (05:44 +0000)
includes/jobqueue/jobs/HTMLCacheUpdateJob.php

index ef9fec0..6b1a1e3 100644 (file)
@@ -103,6 +103,7 @@ class HTMLCacheUpdateJob extends Job {
                // Check $wgUpdateRowsPerQuery for sanity; batch jobs are sized by that already.
                foreach ( array_chunk( $pageIds, $wgUpdateRowsPerQuery ) as $batch ) {
                        $dbw->commit( __METHOD__, 'flush' );
+                       wfWaitForSlaves();
 
                        $dbw->update( 'page',
                                array( 'page_touched' => $dbw->timestamp( $touchTimestamp ) ),