Skip to content

Commit

Permalink
Skip remainder of backoff loop on failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
tseaver committed Jul 6, 2016
1 parent ac6bd5c commit 6ffe88d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions system_tests/logging_.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ def _retry_backoff(result_predicate, meth, *args, **kw):
raise
if backoff_intervals:
time.sleep(backoff_intervals.pop(0))
continue
else:
raise
if result_predicate(result):
Expand Down

0 comments on commit 6ffe88d

Please sign in to comment.