local in_flight_key = KEYS local expire_at = ARGV

local job = redis.call('get', in_flight_key) if (not job) then return nil end

job = string.gsub(job, '(“expire_at”:)*', '%1'..expire_at) redis.call('set', in_flight_key, job)

return job