Skip to content

Commit 9d0ffbe

Browse files
committed
https://github.com/litl/backoff/pull/150
Fix to allow trio event loop sleep.
1 parent ff45b77 commit 9d0ffbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backoff/_sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ def retry_exception(target, wait_gen, exception,
8181
max_tries, max_time, jitter, giveup,
8282
on_success, on_backoff, on_giveup, raise_on_giveup,
8383
monotonic_time=None,
84+
sleep=None,
8485
wait_gen_kwargs):
8586

8687
@functools.wraps(target)

0 commit comments

Comments
 (0)