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

Prevent leaking of locale between requests #949

Merged
merged 1 commit into from Jun 26, 2019
Merged

Conversation

jmromer
Copy link
Contributor

@jmromer jmromer commented Jun 26, 2019

Setting I18n.locale is not thread-safe. This patch ensures per-request locale setting doesn't leak across threads.

@jmromer jmromer self-assigned this Jun 26, 2019
@jmromer jmromer requested a review from sethherr June 26, 2019 18:36
@jmromer jmromer merged commit 781ef59 into master Jun 26, 2019
@jmromer jmromer deleted the fix-locale-leaking branch June 26, 2019 18:39
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

2 participants