From: Aaron Schulz Date: Fri, 19 Apr 2013 23:51:27 +0000 (-0700) Subject: [JobQueue] Fixed numbers given to redis queue stat calls. X-Git-Tag: 1.31.0-rc.0~19937 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=879d36a3a4dd6ef07edd09f9bcc15bc41385adec;p=lhc%2Fweb%2Fwiklou.git [JobQueue] Fixed numbers given to redis queue stat calls. Change-Id: Ia70e6ab947aab9ed807ea993b04647aa488fbf3d --- diff --git a/includes/job/JobQueueRedis.php b/includes/job/JobQueueRedis.php index a55e9996da..f14f9fa733 100644 --- a/includes/job/JobQueueRedis.php +++ b/includes/job/JobQueueRedis.php @@ -649,8 +649,8 @@ LUA; if ( $res ) { list( $released, $abandoned, $pruned ) = $res; $count += $released + $pruned; - JobQueue::incrStats( 'job-recycle', $this->type, count( $released ) ); - JobQueue::incrStats( 'job-abandon', $this->type, count( $abandoned ) ); + JobQueue::incrStats( 'job-recycle', $this->type, $released ); + JobQueue::incrStats( 'job-abandon', $this->type, $abandoned ); } } catch ( RedisException $e ) { $this->throwRedisException( $this->server, $conn, $e );