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

Add compatibility with Rails 7.2 #165

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ledermann
Copy link

@ledermann ledermann commented Aug 14, 2024

Rails 7.2 has introduced connection pinning in rails/rails#50999 and removed the former method lock_thread=. This PR uses the new methods if they are available, otherwise the previous behavior remains. A deprecation warning is fixed as well.

Resolves #164

rosston added a commit that referenced this pull request Sep 25, 2024
Taken from #165, hence
the coauthor credit.

Co-authored-by: Georg Ledermann <[email protected]>
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.

Incompatible with Rails 7.2
1 participant