Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Fix rate limiting bug #69

Merged
merged 1 commit into from
Oct 2, 2019
Merged

Fix rate limiting bug #69

merged 1 commit into from
Oct 2, 2019

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented Sep 13, 2019

- Summary

We have some code that handles the case where the API returns 429 but no X-RateLimit-Reset response header.

The current code does not work since Number.parseInt() returns either an integer or NaN and existy() checks == null, i.e. that code is unreachable.

- Test plan

A test was added as part of #68.

- Description for the changelog

Fix rate limiting bug.

@ehmicky ehmicky requested review from DavidWells and keiko713 and removed request for keiko713 September 16, 2019 12:03
@ehmicky ehmicky merged commit 1b2815d into master Oct 2, 2019
@ehmicky ehmicky deleted the bug/fix-rate-limiting branch October 2, 2019 17:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant