Fix compliance optimizer timeout: 600s -> 1800s to match other pipeline steps
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ def run_optimizer_step(topic_id: str) -> bool:
|
||||
script_path = PROJECT_ROOT / "scripts" / "compliance_optimizer.py"
|
||||
cmd = ["python3", str(script_path), "--topic-ids", topic_id]
|
||||
logger.info(f"Running: {' '.join(cmd)}")
|
||||
result = subprocess.run(cmd, cwd=str(PROJECT_ROOT), capture_output=True, text=True, timeout=600)
|
||||
result = subprocess.run(cmd, cwd=str(PROJECT_ROOT), capture_output=True, text=True, timeout=1800)
|
||||
if result.returncode != 0:
|
||||
logger.error(f"compliance_optimizer 失败: {result.stderr}")
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user