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

Use different name for main and thread connection variable. #26967

Merged
merged 1 commit into from
Nov 4, 2016

Conversation

headius
Copy link
Contributor

@headius headius commented Nov 4, 2016

Under JRuby, the updates of the one shared variable interleaved,
causing threads to pick up each others' connections. I'm amazed
this worked on MRI.

This needs to be backported to 5-0-stable.

Under JRuby, the updates of the one shared variable interleaved,
causing threads to pick up each others' connections. I'm amazed
this worked on MRI.
@rails-bot
Copy link

r? @eileencodes

(@rails-bot has picked a reviewer for you, use r? to override)

@tenderlove tenderlove merged commit a432e6d into rails:master Nov 4, 2016
tenderlove added a commit that referenced this pull request Nov 4, 2016
Use different name for main and thread connection variable.
@headius headius deleted the bad_threading_test branch November 4, 2016 19:08
@maclover7
Copy link
Contributor

Was backported in a198105.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants