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

Optimize registerMounts by removing unused function #27373

Merged
merged 1 commit into from
Mar 13, 2017
Merged

Conversation

mrow4a
Copy link
Contributor

@mrow4a mrow4a commented Mar 13, 2017

// filter out non-proper storages coming from unit tests This comment raised my attention, since production code should not optimize unit tests.

@mention-bot
Copy link

@mrow4a, thanks for your PR! By analyzing the history of the files in this pull request, we identified @PVince81 and @DeepDiver1975 to be potential reviewers.

@mrow4a mrow4a added this to the 10.0 milestone Mar 13, 2017
@mrow4a
Copy link
Contributor Author

mrow4a commented Mar 13, 2017

Without that line, this is what happens when you create new user:
selection_069

@mrow4a mrow4a changed the title Optimize registerMounts by removing O(N) queries for mounts to oc_storages Optimize registerMounts by removing unused function Mar 13, 2017
@mrow4a
Copy link
Contributor Author

mrow4a commented Mar 13, 2017

ok, rebased and now it is ok

@mrow4a
Copy link
Contributor Author

mrow4a commented Mar 13, 2017

@DeepDiver1975 @PVince81 To review. This block was unused, however found out that will not optimize much. I need further digging.

@PVince81
Copy link
Contributor

Great, this means that the unit tests in question were rewritten in a better way

@PVince81 PVince81 merged commit 0b3c5a2 into master Mar 13, 2017
@PVince81 PVince81 deleted the rem_abmg_queries branch March 13, 2017 17:07
@PVince81
Copy link
Contributor

👍

@lock
Copy link

lock bot commented Aug 3, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants