Avoid needing config to be in sync between MW and the jobrunner
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 9 Oct 2014 00:40:23 +0000 (17:40 -0700)
committerTim Starling <tstarling@wikimedia.org>
Fri, 17 Oct 2014 23:03:53 +0000 (23:03 +0000)
commit9d75a0c51be943d32436b7b2a5e2303b4e5cf2d0
treef878fc4df2d4b8588d40c3738f7452806a5f78eb
parent6f5b29ff4e6fdf21b5a8cacaf10d6aceaee26a7d
Avoid needing config to be in sync between MW and the jobrunner

* This unifies the retry and no-retry code paths so that its easier to use
  the separate job runner service.
* All jobs will use the ack procedure. If no retries are enabled they will
  just get deleted. As a side-effect, abandoned jobs can be seen for a few
  days in the no-retry case, which used to not happen. This could actually
  be useful to know about anyway.

Change-Id: I185092e3696fb336b9edcf19280dcd9a561161d9
includes/jobqueue/JobQueueRedis.php