mirror of
https://github.com/HDT3213/delayqueue.git
synced 2025-10-05 07:06:53 +08:00
Fix:异步模式下消费者无法消费的bug
This commit is contained in:
@@ -255,7 +255,7 @@ for _,v in ipairs(msgs) do
|
||||
args2 = {}
|
||||
end
|
||||
end
|
||||
if (#args2 > 2) then
|
||||
if (#args2 > 0) then
|
||||
redis.call('LPush', KEYS[2], unpack(args2))
|
||||
end
|
||||
redis.call('ZRemRangeByScore', KEYS[1], '0', ARGV[1]) -- remove msgs from pending
|
||||
|
Reference in New Issue
Block a user