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

examples/large-file-upload: honor the retry-after field when rate-limited #52

Merged
merged 1 commit into from May 12, 2021

Conversation

wfraser
Copy link
Member

@wfraser wfraser commented May 11, 2021

Rather than thrashing and quickly erroring out, do the delay requested by the server.

Checklist

General Contributing

  • I have read the Code of Conduct and signed the CLA.
  • I have added an entry to the RELEASE_NOTES.md file, or believe it's not necessary for this change.

Validation

Hit this myself when using it to upload some large backup files, so I tested it manually. This is example code; doesn't need automated testing beyond that.

@wfraser wfraser merged commit 8f4dce3 into dropbox:master May 12, 2021
@wfraser wfraser deleted the upload-throttle-backoff branch May 12, 2021 04:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant