Skip to content

Commit

Permalink
Fix infinate look in retry
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Oct 13, 2015
1 parent 7cd2f32 commit 3c946da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/retry/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func (r *retryer) On(method func() error) error {
return RetryFailed
}
<-time.After(time.Duration(delay) * time.Millisecond)
attempt++
}
}

Expand Down

0 comments on commit 3c946da

Please sign in to comment.