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

StandardBullhornData Should Properly Handle Rate-Limiting #257

Open
bh-mhenrichs opened this issue Mar 22, 2019 · 0 comments
Open

StandardBullhornData Should Properly Handle Rate-Limiting #257

bh-mhenrichs opened this issue Mar 22, 2019 · 0 comments

Comments

@bh-mhenrichs
Copy link

The REST API is behind a gateway that will rate-limit connections that burst too high in traffic, and the SDK does not properly handle the 429 Responses. The methods that make REST calls into our API should properly handle a 429 response.

The functions:

  • performGetRequest
  • performPostRequest
  • performCustomRequest

Approach:

  • When receiving the 429 response, the SDK should sleep for a second and then retry the request. Note that this should not be susceptible to the API_RETRY limit, so it can't simply be added to handleHttpStatusCodeError without some minor refactoring to that function.
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

No branches or pull requests

1 participant