Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait polynomially longer rather than exponentially #89

Closed
wants to merge 1 commit into from

Conversation

peteryates
Copy link
Member

In Rails 7.1.0 wait: :exponentially_longer will actually wait polynomially longer and has been deprecated.

`wait: :exponentially_longer` will actually wait polynomially longer and
is therefore deprecated in Rails 7.1.0

https://api.rubyonrails.org/classes/ActiveJob/Exceptions/ClassMethods.html#method-i-retry_on
@duncanjbrown
Copy link
Contributor

TIL! Thank you 🙏

@duncanjbrown
Copy link
Contributor

Might need to skip for rails 6 if it doesn't have that option?

@peteryates
Copy link
Member Author

Oh it's ok, I was doing a quick experiment to see how much of a pain upgrading NPQ and ECF would be 😅 There's no urgency from us here.

@vassyz
Copy link
Contributor

vassyz commented Oct 30, 2023

Maybe you like my approach? #95
Not sure if there's a better way.

@ericaporter
Copy link
Contributor

Closing because we are merging #95 which addresses the issue and also deals with Rails 6 test failures

@ericaporter ericaporter closed this Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants