Skip to content

Commit

Permalink
fix!: breaking helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
AustinAbro321 committed Mar 18, 2024
1 parent 1cd3a92 commit b0c49da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions helpers/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ func Retry(fn func() error, retries int, delay time.Duration, logger func(format

pow := math.Pow(2, float64(r))
backoff := delay * time.Duration(pow)


logger("Retrying (%d/%d) in %s: %s", r+1, retries, backoff, err.Error())

Expand Down

0 comments on commit b0c49da

Please sign in to comment.