Home > Back-end >  Sidekiq - Send job to Deadset directly without retrying
Sidekiq - Send job to Deadset directly without retrying

Time:07-15

How to send a job to the Deadset?

I've been searching around and I see some other developers that want to Notify to their exception handling systems when a job fails, for example if the job connects to an unreliable third party API.

In my case I would like to send the job to the deadset right away instead of just discarding it or waiting around 20 days.I want A human kind to have to click the Retry or Delete button based on the failure reason in the Deadset UI.

So if I have this enter image description here

Update:

I have followed the logic of the enter image description here

And some human can analyze it and delete or retry it. In my case this was a web scraper, so if the HTML of my target site goes invalid then a developer has to update the logic and we have to retry with the original arguments once the developer pushes the updated scraping code.

  • Related