Reedy has uploaded a new change for review. https://gerrit.wikimedia.org/r/91858
Change subject: Add sleep call to HTMLCacheUpdateJob update loop ...................................................................... Add sleep call to HTMLCacheUpdateJob update loop Removes a WMF live hack from https://gerrit.wikimedia.org/r/#/c/22466 Change-Id: I9a8e27998e51df05b65f8ad675cd7e840c42685b --- M includes/job/jobs/HTMLCacheUpdateJob.php 1 file changed, 3 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/58/91858/1 diff --git a/includes/job/jobs/HTMLCacheUpdateJob.php b/includes/job/jobs/HTMLCacheUpdateJob.php index 44c240b..732ee76 100644 --- a/includes/job/jobs/HTMLCacheUpdateJob.php +++ b/includes/job/jobs/HTMLCacheUpdateJob.php @@ -245,6 +245,9 @@ array( 'page_id' => $batch ) + $touchedCond, __METHOD__ ); + if ( PHP_SAPI == 'cli' ) { + sleep( 1 ); + } } # Update squid -- To view, visit https://gerrit.wikimedia.org/r/91858 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9a8e27998e51df05b65f8ad675cd7e840c42685b Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Reedy <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
