Aaron Schulz has uploaded a new change for review.
https://gerrit.wikimedia.org/r/247725
Change subject: Make JobQueueRedis stat calls match the DB one
......................................................................
Make JobQueueRedis stat calls match the DB one
It looks like someone just forgot to update these to
the newer style (e.g. sans "job-").
Change-Id: Idf953bb73ad31425c5c366d4b2169a42bd5e022d
---
M includes/jobqueue/JobQueueRedis.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/25/247725/1
diff --git a/includes/jobqueue/JobQueueRedis.php
b/includes/jobqueue/JobQueueRedis.php
index 29c8068..002fe0d 100644
--- a/includes/jobqueue/JobQueueRedis.php
+++ b/includes/jobqueue/JobQueueRedis.php
@@ -301,7 +301,7 @@
break; // no jobs; nothing to do
}
- JobQueue::incrStats( 'job-pop', $this->type );
+ JobQueue::incrStats( 'pops', $this->type );
$item = $this->unserialize( $blob );
if ( $item === false ) {
wfDebugLog( 'JobQueueRedis', "Could not
unserialize {$this->type} job." );
@@ -393,7 +393,7 @@
return false;
}
- JobQueue::incrStats( 'job-ack', $this->type );
+ JobQueue::incrStats( 'acks', $this->type );
} catch ( RedisException $e ) {
$this->throwRedisException( $conn, $e );
}
--
To view, visit https://gerrit.wikimedia.org/r/247725
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Idf953bb73ad31425c5c366d4b2169a42bd5e022d
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