Skip to content

Commit

Permalink
utils - reduce backoff_delays jitter to 20% limit
Browse files Browse the repository at this point in the history
  • Loading branch information
kentnsw committed May 7, 2022
1 parent aa6cad4 commit c886092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c7n/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def backoff_delays(start, stop, factor=2.0, jitter=False):
cur = start
while cur <= stop:
if jitter:
yield cur - (cur * random.random() / 4)
yield cur - (cur * random.random() / 5)
else:
yield cur
cur = cur * factor
Expand Down

0 comments on commit c886092

Please sign in to comment.