Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Use Thread.current instead of instance variables for state #2

Merged
merged 1 commit into from
Nov 15, 2016

Conversation

shuber
Copy link
Contributor

@shuber shuber commented Nov 15, 2016

For thread safety we'll store the state in Thread.current["ActiveRecord::UpdatedAt::DISABLED"]

@shuber shuber merged commit 458ee37 into master Nov 15, 2016
@shuber shuber deleted the sh/thread-safe branch November 15, 2016 00:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants