From: Aaron Schulz Date: Tue, 20 Oct 2015 21:24:09 +0000 (-0700) Subject: Make JobQueueRedis stat calls match the DB one X-Git-Tag: 1.31.0-rc.0~9329^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=5652ff7867c1e199ca796224a150911c0ef53811;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ); }