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: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: Iddc5d6be74df5b3fd87b03225cc2e400f5377c74
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: wmf/1.22wmf2
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