[JobQueue] Abstracted nextJobDB.php to not assume JobQueueDB.
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 3 Nov 2012 00:31:25 +0000 (17:31 -0700)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 8 Nov 2012 23:59:18 +0000 (23:59 +0000)
commitdc9eb6002982f7961d7b2c9ce3b4d0523de13734
treebc007e92a333d2eacf362031a6aca82092d94170
parent9f95bddda711da1567be0e4ad2781eefba320e1e
[JobQueue] Abstracted nextJobDB.php to not assume JobQueueDB.

* Changed the use of caching to avoid cache slams by having runners
  fall back to the old "queues with jobs" cache value when another
  process is updating the cache. Also bumped the cache key version.

Change-Id: I6d5f32ab846c14a25afe8c5957443ed95a1d7bd2
includes/job/JobQueue.php
includes/job/JobQueueDB.php
includes/job/JobQueueGroup.php
maintenance/nextJobDB.php