dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec0dc9
)
[JobQueue] Fixed numbers given to redis queue stat calls.
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 19 Apr 2013 23:51:27 +0000
(16:51 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 19 Apr 2013 23:51:27 +0000
(16:51 -0700)
Change-Id: Ia70e6ab947aab9ed807ea993b04647aa488fbf3d
includes/job/JobQueueRedis.php
patch
|
blob
|
history
diff --git
a/includes/job/JobQueueRedis.php
b/includes/job/JobQueueRedis.php
index
a55e999
..
f14f9fa
100644
(file)
--- a/
includes/job/JobQueueRedis.php
+++ b/
includes/job/JobQueueRedis.php
@@
-649,8
+649,8
@@
LUA;
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 );