Skip to content

check quota when trying to download a file via new -> web - #10290

Merged
DeepDiver1975 merged 1 commit into
masterfrom
check_quota_on_new_via_web
Aug 8, 2014
Merged

DeepDiver1975 merged 1 commit into
masterfrom
check_quota_on_new_via_web

Conversation

@butonic

@butonic butonic commented Aug 8, 2014

Copy link
Copy Markdown
Contributor

fixes ##10047 for master

@butonic butonic added this to the 2014-sprint-01-current milestone Aug 8, 2014
@butonic butonic self-assigned this Aug 8, 2014
@scrutinizer-notifier

Copy link
Copy Markdown

A new inspection was created.

@butonic

butonic commented Aug 8, 2014

Copy link
Copy Markdown
Contributor Author

cc @icewind1991

@ghost

ghost commented Aug 8, 2014

Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what shall we do if there is no meta data/wrapper data available?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Start downloading the file and abort as soon as we're about to go over quota. However, I have also been told that there is a "soft quota" now and going over quota is less of a problem.

@DeepDiver1975

Copy link
Copy Markdown
Contributor

tested - works 👍

@DeepDiver1975

Copy link
Copy Markdown
Contributor

summoning @bantu

@icewind1991

Copy link
Copy Markdown
Contributor

looks good 👍

@bantu

bantu commented Aug 8, 2014

Copy link
Copy Markdown

@DeepDiver1975 @butonic My WIP for this is in #5499 (which looks superior to this patch due to reusability and test coverage).

However, currently my idea is rather to throw it away and pull in a complete HTTP client due to e.g. #3614 and #1198. At least for master.

@DeepDiver1975

Copy link
Copy Markdown
Contributor

@bantu

donebeatsperfect

😉

DeepDiver1975 added a commit that referenced this pull request Aug 8, 2014
check quota when trying to download a file via new -> web
@DeepDiver1975
DeepDiver1975 merged commit 7b6b99f into master Aug 8, 2014
@DeepDiver1975
DeepDiver1975 deleted the check_quota_on_new_via_web branch August 8, 2014 15:32
@bantu

bantu commented Aug 8, 2014

Copy link
Copy Markdown

@icewind1991

Copy link
Copy Markdown
Contributor

Instead of having a meme-off we can just accept this solution for now and continue to work on ways we can cleanup and improve "quicker" fixes like this

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.

7 participants