Post

Currently in ActiveJob, `wait` in `retry_on` accepts a proc, but it is only handed the execution count. I think access to the error can also be useful when calculating the next wait time. If you agree, give it a like! github.com/rails/rails/...

github.comAllow retry_on wait procs to accept error as a second argument by jpcamara · Pull Request #56601 · rails/railsMotivation / Background Currently, retry_on wait procs can only accept the execution count as an argument, which limits the ability to customize retry delays based on the error itself. Some excepti...

1 repost6 likes