We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c256cf3 commit d11a33cCopy full SHA for d11a33c
src/helpers/zsetKeysMemoryUsage.lua
@@ -14,7 +14,7 @@ local bytesAmount = 0
14
15
if (#jobs > 0) then
16
for _, jobId in ipairs(jobs) do
17
- bytesAmount = bytesAmount + redis.call('memory', 'usage', ARGV[1]..jobId)
+ bytesAmount = bytesAmount + (redis.call('memory', 'usage', ARGV[1]..jobId) or 0)
18
end
19
20
0 commit comments