-
-
Couldn't load subscription status.
- Fork 4.6k
feat(mounts): optimize load of mounts by filtering on database side #54197
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
Conversation
9af0815 to
6d38980
Compare
|
related: #51074 |
6d38980 to
6dca476
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what I see, the query in getMountsForStorageId has been inlined in this function and extended it with the rules that were previously filtering the rows in PHP.
6333c81 to
ef204ec
Compare
ef204ec to
8edae4b
Compare
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
b98479a to
39e2e70
Compare
Filters mounts on database side to free some database bandwidth