This commit is contained in:
Andrew Waage
2016-10-07 18:37:36 -07:00
parent 074b467251
commit 7b8c667447
2 changed files with 2 additions and 3 deletions
@@ -318,7 +318,7 @@ Make sure, that you push tags to remote repo via 'git push --tags'"
# @param [Integer] attempt the attempt number
# @return [Integer] Exponential backoff seconds
def exp_backoff(attempt)
(2 ** attempt - 1) / 2
(2**attempt - 1) / 2
end
# Print specified line on the same string