-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Add check for time because time.Until does not correctly handle a time that is earlier than time.Now(). * Update getRateLimit to handle a rate limit time is earlier than now. * Add some additional safe guard to check Ticker * Add descriptions for getRateLimit function and test functions. * Update CHANGELOG.next.asciidoc (cherry picked from commit db62862)
- Loading branch information
Lei Qiu
authored
May 15, 2020
1 parent
d80c958
commit b300a95
Showing
3 changed files
with
34 additions
and
5 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
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