Skip to content

Commit

Permalink
Merge pull request #50 from zooniverse/fixfailures-Aug2024
Browse files Browse the repository at this point in the history
Fix Prediction Job Failures (Aug 2024)
  • Loading branch information
lcjohnso authored Aug 23, 2024
2 parents 17e49b6 + bec23c0 commit a74e2d2
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 a74e2d2

Please sign in to comment.