slok/goresilience

Disable retry

Closed this issue · 1 comments

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 }

Since I got no response in the past year I decided to only add the retry runner only when Times > 0.