Sha256: 648edf553d6af0adbfc7e45ec3bb6f350b6eaf5bbe608d341eebcd1ec53d4dbb

Contents?: true

Size: 884 Bytes

Versions: 16

Compression:

Stored size: 884 Bytes

Contents

-- redis.replicate_commands();
local unique_keys   = KEYS[1]
local unique_digest = KEYS[2]

local exists_key        = unique_digest .. ':EXISTS'
local grabbed_key       = unique_digest .. ':GRABBED'
local available_key     = unique_digest .. ':AVAILABLE'
local version_key       = unique_digest .. ':VERSION'
local run_exists_key    = unique_digest .. ':RUN:EXISTS'
local run_grabbed_key   = unique_digest .. ':RUN:GRABBED'
local run_available_key = unique_digest .. ':RUN:AVAILABLE'
local run_version_key   = unique_digest .. ':RUN:VERSION'

local count = redis.call('SREM', unique_keys, unique_digest)
redis.call('DEL', exists_key)
redis.call('DEL', grabbed_key)
redis.call('DEL', available_key)
redis.call('DEL', version_key)
redis.call('DEL', run_exists_key)
redis.call('DEL', run_grabbed_key)
redis.call('DEL', run_available_key)
redis.call('DEL', run_version_key)

return count

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-6.0.16 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.13 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.12 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.11 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.10 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.9 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.8 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.7 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.6 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.5 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.4 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.3 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.2 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.1 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.0 redis/delete_by_digest.lua
sidekiq-unique-jobs-6.0.0.rc8 redis/delete_by_digest.lua