Skip to content

Commit

Permalink
Fix lint issue (Sceptre#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngfgrant authored Aug 16, 2019
1 parent 9d1c843 commit 6837e6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sceptre/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def decorated(*args, **kwargs):
time.sleep(mdelay)

# Using De-correlated Jitter Algorithm
# We are picking number between a ceiling (delay_cap) of 45 seconds and the last
# delay multiplied by 2.5, rounding to two decimal places.
# We are picking number between a ceiling (delay_cap) of 45 seconds and the
# last delay multiplied by 2.5, rounding to two decimal places.
mdelay = min(delay_cap, round((random.uniform(1, mdelay * 2.5)), 2))

attempts += 1
Expand Down

0 comments on commit 6837e6d

Please sign in to comment.