mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-07 07:36:58 +00:00
From Sidekiq's view, the job is successful when we rescue an error and it will discard it. But we want the option to inspect the job and retry it. Failing jobs are also reported to Bugsnag automatically. I didn't specify `retry: false` because that discards the job as well. But `retry: 0` should sent it straight to the dead set. No automatic retries but it's treated like a failed job.