Added job-undelay stat calls to the Redis queue class
authorAaron Schulz <aschulz@wikimedia.org>
Sun, 6 Jul 2014 17:51:42 +0000 (10:51 -0700)
committerBryanDavis <bdavis@wikimedia.org>
Sun, 6 Jul 2014 18:21:00 +0000 (18:21 +0000)
Change-Id: I28f979ff6b95e09af832f8daaa6bd7bb15c2cb6b

includes/jobqueue/JobQueueRedis.php

index 6739a84..39fccdd 100644 (file)
@@ -703,6 +703,7 @@ LUA;
                                $count += $released + $pruned + $undelayed;
                                JobQueue::incrStats( 'job-recycle', $this->type, $released, $this->wiki );
                                JobQueue::incrStats( 'job-abandon', $this->type, $abandoned, $this->wiki );
+                               JobQueue::incrStats( 'job-undelay', $this->type, $undelayed, $this->wiki );
                        }
                } catch ( RedisException $e ) {
                        $this->throwRedisException( $conn, $e );