+1 I had a similar issue and would welcome it... On Fri, Nov 22, 2019 at 6:33 PM Anthony Ross <anthony.s.r...@gmail.com> wrote:
> > Hello - Is anyone available to review this PR? I believe I've addressed > all feedback. Thank you! https://github.com/rails/rails/pull/31872 > > Anthony > > > On Friday, February 2, 2018 at 9:04:30 AM UTC-8, Anthony Ross wrote: >> >> We're seeing issues using :exponentially_longer where failures in >> downstream systems are causing a thundering herd >> <https://en.wikipedia.org/wiki/Thundering_herd_problem> effect. A great >> many jobs fail, they all get enqueued to try again in a static interval and >> bring down the downstream system yet again. This repeats until the retry >> limit is exhausted. >> >> We've gotten around this using a custom `wait` block but since >> exponential backoff with randomness is builtin to some adapters, like >> Sidekiq <https://github.com/mperham/sidekiq/issues/480> , I'm propsing >> to have it baked into to :exponentially_longer. >> >> I submitted a PR here: https://github.com/rails/rails/pull/31872 >> > >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-core/64203323-af8e-41aa-8e9a-724d485b1a26%40googlegroups.com > <https://groups.google.com/d/msgid/rubyonrails-core/64203323-af8e-41aa-8e9a-724d485b1a26%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Sent from mobile -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-core/CAJAxyrdTk_pudJ820y%2BEJfrQz%3DN4_GC48sSr5h9Kp-FoCmEiOg%40mail.gmail.com.