sidekiq update parameters before retrying
<p>How can I update an active job parameter before retrying? I have a job that needs some persistent storage so I store its data as an argument to the job (hash) and the data is updated after each job. If the job fails I want to retry with the updated data instead of the data that was used to schedule the job.</p>

<p>I am using sidekiq for scheduling my jobs btw.</p>

<p>Regards.</p>