Skip to content

Commit

Permalink
fix: py38
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco committed Sep 30, 2024
1 parent c19d61a commit 36fc530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/aiohappyeyeballs/staggered.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def _on_completion(
tasks.add(loop.create_task(run_one_coro(coro_fn, this_index, wakeup_next)))
if delay and wakeup_next:
timer = loop.call_later(delay, _set_result_if_not_done, wakeup_next)
else:
timer = None

while tasks:
wait_next = loop.create_future()
Expand Down

0 comments on commit 36fc530

Please sign in to comment.