Skip to content

Commit

Permalink
fix(clean): use range values in lua script (#885)
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf authored Nov 22, 2021
1 parent 03f6eb3 commit 02ef63a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/cleanJobsInSet-2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ if limit > 0 then
rangeEnd = -1
end

local jobs = rcall(command, KEYS[1], 0, -1)
local jobs = rcall(command, KEYS[1], rangeStart, rangeEnd)
local deleted = {}
local deletedCount = 0
local jobTS
Expand Down

0 comments on commit 02ef63a

Please sign in to comment.