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

get quota for user only when needed #33600

Merged
merged 1 commit into from
Sep 7, 2022
Merged

get quota for user only when needed #33600

merged 1 commit into from
Sep 7, 2022

Conversation

icewind1991
Copy link
Member

always apply the wrapper but have the wrapper get the quota lazily only when an operation where quota is applied is performed

Signed-off-by: Robin Appelman robin@icewind.nl

@icewind1991 icewind1991 added this to the Nextcloud 25 milestone Aug 18, 2022
@icewind1991 icewind1991 requested review from a team, PVince81, blizzz and come-nc and removed request for a team August 18, 2022 09:43
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@blizzz
Copy link
Member

blizzz commented Aug 23, 2022

CI is unhappy

always apply the wrapper but have the wrapper get the quota lazily only when an operation where quota is applied is performed

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
Copy link
Member Author

tests fixed

@blizzz blizzz mentioned this pull request Sep 6, 2022
@blizzz blizzz merged commit 417f46e into master Sep 7, 2022
@blizzz blizzz deleted the lazy-quota branch September 7, 2022 16:10
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.

None yet

3 participants