Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Issue696 -- Divide by 0 Error when setting rate to 0 manually (#700)
* added check to RateThrottle.ChangeRate() in rate.go to prevent a divide by 0 error when the rate is set to 0. Ref: issue 696: #696 * added name to contributors.md and small change description to changelog.md as requested in PR doc * Update CONTRIBUTORS.md --------- Co-authored-by: Joona Hoikkala <5235109+joohoi@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 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