Created
August 16, 2016 08:36
-
-
Save jacoelho/245b14a0b08f7431f717c2ed872c1adc to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| func (c *Circuit) shouldRetry() bool { | |
| if c.retriesCounter > c.RetryThreshold { | |
| c.retriesCounter = 0 | |
| return true | |
| } | |
| return false | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment