title: Disable automatic retry with ActiveJob, used with Sidekiq
body: <p>Is there a way to disable automatic retry with ActiveJob and Sidekiq ?</p>
  
  <p>I know that with Sidekiq only, we just have to put </p>
  
  <pre><code>sidekiq_options :retry =&gt; false
  </code></pre>
  
  <p>as mentioned here : <a href="https://github.com/mperham/sidekiq/wiki/Error-Handling#configuration" rel="noreferrer">https://github.com/mperham/sidekiq/wiki/Error-Handling#configuration</a></p>
  
  <p>but it doesn't seem to work with ActiveJob and Sidekiq.</p>
  
  <p>I also know the solution to entierly disable the retry as proposed here : <a href="https://stackoverflow.com/a/28216822/2431728">https://stackoverflow.com/a/28216822/2431728</a></p>
  
  <p>But it's not the behavior I need.</p>