quirkey/resque-status

Options should stay on a status after it's completed

Closed this issue · 1 comments

Hey!

Right now, when a job isn't completed yet, we have access to it's options, but after it's completed the options vanish and become instead part on the 'name' string. Am I seeing this right, or is there another way to access them after completion?

Thanks!

Name includes the options for display purposes, but options are just part of the Hash object which only expires when the full status expires. If you do Resque::Plugins::Status::Hash.get(job_id) you should be able to just do .options on it.