-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
retry
to API
to make the retry feature easily configurable
This allows you to retry your request if it failed due to the timeout It also allows you to retry a request upon getting a specific status code, like 403 (why'd you do that??) Consequently, it allows you to disable the automatic retry that's normally there if you get status code 429
- Loading branch information
Showing
1 changed file
with
38 additions
and
11 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