-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit updates Retry-After to be seconds-accurate instead of the previous millisecond-accurate. Another issue (#153) is opened to get a more accurate number, which is in the JSON body instead of the header. This commit also removed the rate limit precision header. It also uses a more accurate calculation algorithm to derive the reset time.
- Loading branch information
1 parent
d405cc2
commit 2af51c9
Showing
2 changed files
with
11 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
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