From 5652ff7867c1e199ca796224a150911c0ef53811 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Tue, 20 Oct 2015 14:24:09 -0700 Subject: [PATCH] Make JobQueueRedis stat calls match the DB one It looks like someone just forgot to update these to the newer style (e.g. sans "job-"). Change-Id: Idf953bb73ad31425c5c366d4b2169a42bd5e022d --- includes/jobqueue/JobQueueRedis.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/jobqueue/JobQueueRedis.php b/includes/jobqueue/JobQueueRedis.php index 29c8068a63..002fe0d586 100644 --- a/includes/jobqueue/JobQueueRedis.php +++ b/includes/jobqueue/JobQueueRedis.php @@ -301,7 +301,7 @@ LUA; break; // no jobs; nothing to do } - JobQueue::incrStats( 'job-pop', $this->type ); + JobQueue::incrStats( 'pops', $this->type ); $item = $this->unserialize( $blob ); if ( $item === false ) { wfDebugLog( 'JobQueueRedis', "Could not unserialize {$this->type} job." ); @@ -393,7 +393,7 @@ LUA; return false; } - JobQueue::incrStats( 'job-ack', $this->type ); + JobQueue::incrStats( 'acks', $this->type ); } catch ( RedisException $e ) { $this->throwRedisException( $conn, $e ); } -- 2.20.1