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

feat!: Add automatic retrying of 429/502/503 #199

Merged
merged 2 commits into from
Apr 21, 2023
Merged

feat!: Add automatic retrying of 429/502/503 #199

merged 2 commits into from
Apr 21, 2023

Commits on Apr 20, 2023

  1. feat!: add automatic retrying of 429, 502, 503

    BREAKING CHANGE: Client will now automatically retry all GET/HEAD
    requests as well as queries if the server responds with a 429, 502 or
    503 status code - as well as on socket/dns errors. Previously, the
    client would immediately throw an error. If you have application-level
    retry code, you should either disable the retrying in the client
    by passing `{maxRetries: 0}`, or remove the custom retry code and
    potentially alter the `retryDelay` and `maxRetries` options to match
    your wanted behavior.
    judofyr committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    ff3a006 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Configuration menu
    Copy the full SHA
    7bddeb0 View commit details
    Browse the repository at this point in the history