Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanguage committed Mar 12, 2024
1 parent e247705 commit 8f86262
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/engine/job/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ async def wait_until(
timeout: T.Optional[float] = None
):
"""Wait until the check_func return True."""
total_time = 0
total_time = 0.0
while not check_func(self):
await asyncio.sleep(self.wait_time_delta)
total_time += self.wait_time_delta
Expand Down

0 comments on commit 8f86262

Please sign in to comment.