Skip to content

Commit

Permalink
Increase timeout to 12 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
moeyensj committed Sep 25, 2022
1 parent 3033330 commit 78be0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thorcontrol/taskqueue/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def handle_task(self, task: Task):
"beginning execution for job %s, task %s", task.job_id, task.task_id
)
# TODO: Make this timeout a parameter on the task, or maybe a deadline associated with the Job?
asyncio.run(run_thor_subprocess(input_dir, output_dir, timeout=60 * 60 * 4))
asyncio.run(run_thor_subprocess(input_dir, output_dir, timeout=60 * 60 * 12))
self.mark_task_succeeded(task, bucket, output_dir)

except Exception as e:
Expand Down

0 comments on commit 78be0ba

Please sign in to comment.