Fixed key name typo
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 2 Dec 2013 07:09:06 +0000 (23:09 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 2 Dec 2013 07:09:06 +0000 (23:09 -0800)
Change-Id: I650fa1d2eea9817c47f885d3be0465f9108fad22

includes/job/JobQueueRedis.php

index 5c3c5e9..9d2a673 100644 (file)
@@ -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',kUnclaimed,id)
                                        redis.call('hIncrBy',kAttempts,id,1)
                                        released = released + 1
                                else