Aaron Schulz has uploaded a new change for review.

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


Change subject: Fixed redis job queue stat value for "recycle".
......................................................................

Fixed redis job queue stat value for "recycle".

Change-Id: Iddc5d6be74df5b3fd87b03225cc2e400f5377c74
---
M includes/job/JobQueueRedis.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/86/60086/1

diff --git a/includes/job/JobQueueRedis.php b/includes/job/JobQueueRedis.php
index 1b22c8d..183914b 100644
--- a/includes/job/JobQueueRedis.php
+++ b/includes/job/JobQueueRedis.php
@@ -658,7 +658,7 @@
                        if ( $res ) {
                                list( $released, $abandoned, $pruned ) = $res;
                                $count += $released + $pruned;
-                               wfIncrStats( 'job-recycle', count( $released ) 
);
+                               wfIncrStats( 'job-recycle', $released );
                        }
                } catch ( RedisException $e ) {
                        $this->throwRedisException( $this->server, $conn, $e );

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iddc5d6be74df5b3fd87b03225cc2e400f5377c74
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.22wmf2
Gerrit-Owner: Aaron Schulz <[email protected]>

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

Reply via email to