– AUTOGENERATED FILE DO NOT EDIT DIRECTLY local queue_key = KEYS local zset_key = KEYS local processed_key = KEYS local worker_queue_key = KEYS

local current_time = ARGV

local test = redis.call('rpop', queue_key) if test then

redis.call('zadd', zset_key, current_time, test)
redis.call('lpush', worker_queue_key, test)
return test

else

return nil

end