Merge "Localisation updates from https://translatewiki.net."
authorTranslation updater bot <l10n-bot@translatewiki.net>
Thu, 19 Dec 2013 20:58:34 +0000 (20:58 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 19 Dec 2013 20:58:34 +0000 (20:58 +0000)
includes/job/JobQueueGroup.php

index 4f11bbf..cf0c290 100644 (file)
@@ -392,6 +392,10 @@ class JobQueueGroup {
                                        }
                                }
                        }
+                       // 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 ) {