(but 37072) - infinite loop with runJobs.php
authorAntoine Musso <hashar@free.fr>
Fri, 8 Jun 2012 12:29:43 +0000 (14:29 +0200)
committerAntoine Musso <hashar@free.fr>
Fri, 8 Jun 2012 12:29:43 +0000 (14:29 +0200)
commitdc9c2a62798854025f2e286ab9760c9d6afe6bed
treef5c291ea784f11c95c5b565a1801627d407ab2b0
parentfacc1e47d4dcf09768790c9ef4ecb2cb6b644e73
(but 37072) - infinite loop with runJobs.php

This is similar to fb69ee4 ( https://gerrit.wikimedia.org/r/9116 ) which
fixed nextJobDB.php. This patch make sure runJobs.php does not proceed
jobs listed in $wgJobTypesExcludedFromDefaultQueue , at least not by
default.

We will probably want to factor out common code between runJobs and
nextJobDB.

Change-Id: Id0c8896d7a0d5b58e678db1ce314174d44e1cae3
maintenance/runJobs.php