[JobQueue] Cleanups for JobQueueRedis.
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 8 Feb 2013 18:52:54 +0000 (10:52 -0800)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 21 Feb 2013 05:38:01 +0000 (05:38 +0000)
commit9cc7e6a39ab2c5d2beedd8d3ecbcddf41e06c6b6
treed5467f2930a636c5fb8f60be1d593f5598557b2a
parent04e0d75f86b189a389e055b4764a951ba836ca82
[JobQueue] Cleanups for JobQueueRedis.

* Cleaned up 'server' option to not fragment the pool.
  Also made it actually match the documentation.
* Made it use doGetPeriodicTasks() for job recycling.
* Made it so that other job queue classes can be tested.
* Renamed "redisConf" => "redisConfig".
* Tweaked comments about the "random" order option.

Change-Id: I7823d90010e6bc9d581435c3be92830c5ba68480
includes/DefaultSettings.php
includes/job/JobQueue.php
includes/job/JobQueueRedis.php
tests/phpunit/MediaWikiPHPUnitCommand.php
tests/phpunit/includes/jobqueue/JobQueueTest.php