You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main motivation for this (making the code more idiomatic is a nice bonus) is to avoid the automatic retry behavior in Sidekiq. It is not usually useful (and very confusing) to retry the commands. According to this it seems like handling errors manually will stop Sidekiq from retrying automatically, as long as we don't call retry_job.
The text was updated successfully, but these errors were encountered:
chancancode
changed the title
Refactor the dispatcher job to use Active Job
Refactor the dispatcher job to use Active Job's rescue_from API
Nov 21, 2017
We can refactor this rescue block to use Active Job's
rescue_from
API.The main motivation for this (making the code more idiomatic is a nice bonus) is to avoid the automatic retry behavior in Sidekiq. It is not usually useful (and very confusing) to retry the commands. According to this it seems like handling errors manually will stop Sidekiq from retrying automatically, as long as we don't call
retry_job
.The text was updated successfully, but these errors were encountered: