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

bugfix: the resolve function would be called multiple times #1130

Merged
merged 1 commit into from
Sep 24, 2018
Merged

bugfix: the resolve function would be called multiple times #1130

merged 1 commit into from
Sep 24, 2018

Conversation

danielBreitlauch
Copy link
Contributor

Small fix such that resolved is set to true.

@evanchooly
Copy link
Member

I think I see what's going on here but a bug description and tests would be really helpful.

@danielBreitlauch
Copy link
Contributor Author

danielBreitlauch commented Feb 7, 2017

It is just a performance regression. By adding the return; the 'resolved = true;' is never called. So the routine is not cached and executed every time.

@danielBreitlauch
Copy link
Contributor Author

@evanchooly do you consider this fix of the previously introduces performance regression?

@danielBreitlauch
Copy link
Contributor Author

Ping?

@evanchooly evanchooly added this to the 1.4.0 milestone Sep 24, 2018
@evanchooly evanchooly merged commit ffd339b into MorphiaOrg:master Sep 24, 2018
VPriesnitz pushed a commit to VPriesnitz/morphia that referenced this pull request Oct 5, 2018
@evanchooly evanchooly modified the milestones: 1.4.0, 1.5.0 Oct 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants