Skip to content

Commit

Permalink
updateCodeStyle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Jan 20, 2025
1 parent 5d1e627 commit b7e40f1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/sagemaker/predictor_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,11 @@ def check_failure_file():
output_thread.start()
failure_thread.start()

while not output_file_found.is_set() and \
not failure_file_found.is_set() and \
not waiter_error_catched.is_set():
while (
not output_file_found.is_set()
and not failure_file_found.is_set()
and not waiter_error_catched.is_set()
):
time.sleep(1)

if output_file_found.is_set():
Expand Down

0 comments on commit b7e40f1

Please sign in to comment.