I am looking for a way to limit a job, to be retried only for 2 days or 48 hours. After which it should be cancelled, unless processed. I know with sidekiq_options
, I can limit the number of retries. Though, what I’m looking for is cancelling a job if it doesn’t get processed within 2 days.