Aaron Schulz has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/60085


Change subject: [JobQueue] Fixed numbers given to redis queue stat calls.
......................................................................

[JobQueue] Fixed numbers given to redis queue stat calls.

Change-Id: Ia70e6ab947aab9ed807ea993b04647aa488fbf3d
---
M includes/job/JobQueueRedis.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/85/60085/1

diff --git a/includes/job/JobQueueRedis.php b/includes/job/JobQueueRedis.php
index a55e999..f14f9fa 100644
--- a/includes/job/JobQueueRedis.php
+++ b/includes/job/JobQueueRedis.php
@@ -649,8 +649,8 @@
                        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 );

-- 
To view, visit https://gerrit.wikimedia.org/r/60085
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia70e6ab947aab9ed807ea993b04647aa488fbf3d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to