goresilience
goresilience copied to clipboard
Disable retry
Is there a particular reason for not allowing retry times to be set to zero to completely disable retry?
if c.Times <= 0 { c.Times = 3 }
Is there a particular reason for not allowing retry times to be set to zero to completely disable retry?
if c.Times <= 0 { c.Times = 3 }