Skip to content

Commit

Permalink
fix: delete logs when cleaning jobs in set
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Jan 2, 2020
1 parent 17c7378 commit b11c6c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/cleanJobsInSet-1.lua
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ for _, job in ipairs(jobs) do
redis.call("ZREM", KEYS[1], job)
end
redis.call("DEL", jobKey)
redis.call("DEL", jobKey .. ":logs")
deletedCount = deletedCount + 1
table.insert(deleted, job)
end
Expand Down

0 comments on commit b11c6c7

Please sign in to comment.