update issues of freeze

This commit is contained in:
2026-01-04 14:54:35 +01:00
parent bb80a65346
commit 2c43e719e3
7 changed files with 161 additions and 6 deletions

View File

@@ -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"