update issues of freeze
This commit is contained in:
@@ -170,10 +170,12 @@ def run_worker():
|
||||
task_dir = os.path.join(queue_dir, task.id)
|
||||
os.makedirs(task_dir, exist_ok=True)
|
||||
|
||||
ret = run_command_with_logging(cmd, queue_log, cwd=repo_dir)
|
||||
ret = run_command_with_logging(cmd, queue_log, cwd=repo_dir, timeout=3600)
|
||||
|
||||
if ret == 0:
|
||||
task.status = "Finished"
|
||||
elif ret == 124:
|
||||
task.status = "Timed Out"
|
||||
else:
|
||||
task.status = "Error"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user