Skip to content

Commit

Permalink
change wait_for_success as fix for missing file failures
Browse files Browse the repository at this point in the history
  • Loading branch information
lcjohnso authored Aug 23, 2024
1 parent 17e49b6 commit bec23c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bajor/batch/predictions.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ def create_batch_job(job_id, manifest_url, pool_id):
# Short term: avoid waiting for this prep task to complete before starting the main task
# https://learn.microsoft.com/en-us/python/api/azure-batch/azure.batch.models.JobPreparationTask?view=azure-python#constructor
# https://learn.microsoft.com/en-us/azure/batch/batch-job-task-error-checking#job-preparation-tasks
wait_for_success=False)

# wait_for_success=False) # REVERTED: due to failed prediction jobs that can't find data files
wait_for_success=True)

# Job release task that runs after the job completes
# NOTE: job release tasks are hard to debug as you can't easily extract the logs :(
Expand Down

0 comments on commit bec23c0

Please sign in to comment.