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

Async uploads rate limiting improvements #3

Merged

Conversation

sumnerevans
Copy link

@sumnerevans sumnerevans commented Mar 30, 2023

Extension of #2. If the changes made here are too controversial,only #2 should be merged. This should address all of the concerns that Travis had, though.

Signed-off-by: Sumner Evans <sumner@beeper.com>
* Explicitly specify that M_NOT_FOUND should be used for expired media
* Explicitly specify that M_FORBIDDEN should be used when a user other
  than the one who created the media ID tries to upload to it
* Remove content-length failure note

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
…rver

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
… than start

Signed-off-by: Sumner Evans <sumner@beeper.com>
@sumnerevans sumnerevans marked this pull request as ready for review March 30, 2023 06:40
@sumnerevans sumnerevans force-pushed the async-uploads-rate-limiting-improvements branch from 8e05c9e to 52d0abd Compare March 30, 2023 06:46
Namely, allowing a limited number of concurrent uploads

Signed-off-by: Sumner Evans <sumner@beeper.com>
@sumnerevans sumnerevans force-pushed the async-uploads-rate-limiting-improvements branch from 52d0abd to 011031b Compare March 30, 2023 06:47
@bradtgmurray
Copy link

lgtm!

Signed-off-by: Sumner Evans <sumner@beeper.com>
@tulir tulir merged commit fedc697 into tulir:asynchronous_uploads Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants