Aaron Schulz has submitted this change and it was merged.

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(-)

Approvals:
  Aaron Schulz: Verified; Looks good to me, approved



diff --git a/includes/job/JobQueueRedis.php b/includes/job/JobQueueRedis.php
index c57081e..25e9120 100644
--- a/includes/job/JobQueueRedis.php
+++ b/includes/job/JobQueueRedis.php
@@ -659,7 +659,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/60087
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iddc5d6be74df5b3fd87b03225cc2e400f5377c74
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.22wmf1
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: jenkins-bot

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

Reply via email to