[JobQueue] Throttle refreshLinks2 jobs based on finishing the refreshLinks jobs.
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 1 Mar 2013 22:37:51 +0000 (14:37 -0800)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 5 Mar 2013 23:28:55 +0000 (23:28 +0000)
commit04c610200fec46870b839ab956ca60266a4792b2
treec59587ad8c28e7c518becd373b7867cc18f2933d
parent9ace77f03c1a0374ea7525875859ea7bb14ae24b
[JobQueue] Throttle refreshLinks2 jobs based on finishing the refreshLinks jobs.

* This should lower the rate of queue activity when major templates change.
* Also fixed a broken array_diff() call in nextJobDB.php.
* Additionally removed checkJob from nextJobDB.php. This is redundant to
  runJobs.php de-listing queues via JobQueueGroup::pop() when the queue
  is empty.

Change-Id: I1518a0de9e7ada22350d9993dd7ffe5f2ce23745
includes/DefaultSettings.php
includes/job/JobQueueGroup.php
maintenance/nextJobDB.php