Sha256: 5ff11867ea2015386b9c7cb505093ebc3a6473a3cccb377c50610a2ef01b0316
Contents?: true
Size: 419 Bytes
Versions: 94
Compression:
Stored size: 419 Bytes
Contents
local previously_scheduled = redis.call('HGET', KEYS[1], ARGV[1]) redis.call('HSET', KEYS[1], ARGV[1], 'true') if previously_scheduled ~= 'true' then local pcb_key = KEYS[1] .. '-pending_callbacks' redis.call('SADD', pcb_key, ARGV[1] .. '-finalize') if ARGV[2] == 'true' then redis.call('SADD', pcb_key, ARGV[1]) end redis.call('EXPIRE', pcb_key, ARGV[3]) end return previously_scheduled
Version data entries
94 entries across 94 versions & 1 rubygems