jenkins-bot has submitted this change and it was merged.
Change subject: Make executeReadyPeriodicTasks() notify the aggregator when
jobs are released/recycled
......................................................................
Make executeReadyPeriodicTasks() notify the aggregator when jobs are
released/recycled
Change-Id: I69459f9a9f37c1d1307a9c48c37cb6063a934fa5
---
M includes/job/JobQueueGroup.php
1 file changed, 4 insertions(+), 0 deletions(-)
Approvals:
BryanDavis: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/job/JobQueueGroup.php b/includes/job/JobQueueGroup.php
index 4f11bbf..cf0c290 100644
--- a/includes/job/JobQueueGroup.php
+++ b/includes/job/JobQueueGroup.php
@@ -392,6 +392,10 @@
}
}
}
+ // The tasks may have recycled jobs or release delayed
jobs into the queue
+ if ( isset( $tasksRun[$type] ) && !$queue->isEmpty() ) {
+
JobQueueAggregator::singleton()->notifyQueueNonEmpty( $this->wiki, $type );
+ }
}
$wgMemc->merge( $key, function ( $cache, $key, $lastRuns ) use
( $tasksRun ) {
--
To view, visit https://gerrit.wikimedia.org/r/102749
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I69459f9a9f37c1d1307a9c48c37cb6063a934fa5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: BryanDavis <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits