Skip to content

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

Merged
tenderlove merged 1 commit into
rails:masterfrom
headius:bad_threading_test
Nov 4, 2016
Merged

tenderlove merged 1 commit into
rails:masterfrom
headius:bad_threading_test

Conversation

@headius

@headius headius commented Nov 4, 2016

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
Copy Markdown
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.

5 participants