-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: automatically retry rate-limited requests (#319)
* feat: automatically retry requests with a `429: Too many requests` API error response * docs: fix TSDoc descriptions * test: refactor variable names and descriptions * test: retry with fallback delay and when the API returns a non-2xx response * test: remove unused test logic
- Loading branch information
1 parent
af6a593
commit e0c8c49
Showing
2 changed files
with
208 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters