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

Fixes issue #23 identity map not cleared #38

Merged
merged 1 commit into from
May 9, 2013

Conversation

srleo
Copy link
Contributor

@srleo srleo commented Apr 23, 2013

Resets the identity map at the beginning of each job.

Without this, if mongoid's identity map is enabled, DJ acts truly bizarre, using stale versions of objects seemingly at random. I lose a solid week to this.

Patch taken from @gurgeous.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling c68c1ad on scaledrecognition:master into 3ecc82b on collectiveidea:master.

@srleo srleo mentioned this pull request Apr 23, 2013
iamnader added a commit that referenced this pull request May 9, 2013
Fixes issue #23 identity map not cleared
@iamnader iamnader merged commit f7ba389 into collectiveidea:master May 9, 2013
disheng pushed a commit to disheng/delayed_job_mongoid that referenced this pull request Nov 9, 2013
…aster"

This reverts commit f7ba389, reversing
changes made to 3ecc82b.
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.

3 participants