[JobQueue] Added per-type stat counter calls for better graphs.
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 16 Apr 2013 17:43:37 +0000 (10:43 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 18 Apr 2013 19:42:47 +0000 (12:42 -0700)
commitcb344a05ad0f3bf19e74bf773dd472fd9661c205
treef47537d318ab3fd8847e1ffdaac689b782582701
parent17cfe1bbcaa767824aff46a2803ae64efe4124a8
[JobQueue] Added per-type stat counter calls for better graphs.

* Also refactored doBatchPush() for the DB job queue to reduce
  the amount of PHP closure work-arounds. I'd rather not add a
  $type variable to the bloated 'use' clause.

Change-Id: I265effc061558d96048dcc331ac2338a8b95aff5
includes/job/JobQueue.php
includes/job/JobQueueDB.php
includes/job/JobQueueRedis.php