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:
299eb8d
)
Fixed key name typo
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 2 Dec 2013 07:09:06 +0000
(23:09 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 2 Dec 2013 07:09:06 +0000
(23:09 -0800)
Change-Id: I650fa1d2eea9817c47f885d3be0465f9108fad22
includes/job/JobQueueRedis.php
patch
|
blob
|
history
diff --git
a/includes/job/JobQueueRedis.php
b/includes/job/JobQueueRedis.php
index
5c3c5e9
..
9d2a673
100644
(file)
--- a/
includes/job/JobQueueRedis.php
+++ b/
includes/job/JobQueueRedis.php
@@
-695,7
+695,7
@@
LUA;
local attempts = redis.call('hGet',kAttempts,id)
if attempts < ARGV[3] then
-- Claim expired and retries left: re-enqueue the job
- redis.call('lPush',kUclaimed,id)
+ redis.call('lPush',kU
n
claimed,id)
redis.call('hIncrBy',kAttempts,id,1)
released = released + 1
else