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

Add better support for throttling exceptions #11

Closed
wants to merge 1 commit into from

Commits on Oct 1, 2020

  1. Add better support for throttling exceptions

    In cases where requests fail for non-technical reasons,
    we often do not want exponential backoff. Notably when
    requests are throttled it is more appropriate to wait
    a specified amount of time before retrying. Often we
    will learn this from a `Retry-After` header.
    
    This change introduces `BackoffAndRetryException`
    which can be used to sleep a fixed amount of time
    before retrying.
    jochemb committed Oct 1, 2020
    Configuration menu
    Copy the full SHA
    ad45360 View commit details
    Browse the repository at this point in the history