chore: set video-split diagnosis concurrency to 12 (overridable)

This commit is contained in:
2026-07-15 13:57:59 -04:00
parent 26ab536fea
commit 94728c5220
+7 -1
View File
@@ -49,5 +49,11 @@ if [ "${MODE:-}" = "mock" ]; then
DRY_RUN_FLAG="--dry-run" DRY_RUN_FLAG="--dry-run"
fi fi
# 诊断并发上限(asyncio.Semaphore):默认 12,可用 CONCURRENCY 环境变量覆盖。
# 注:LLM 熔断阈值/冷却是工程配置,走 .envLLM_CIRCUIT_BREAKER_THRESHOLD / _COOLDOWN),
# 当前 threshold=32(连续 32 次失败触发熔断),不在本脚本设置。
CONCURRENCY="${CONCURRENCY:-12}"
conda run -n Video-Tree-TRM python -m app.harness.video_split_cli \ conda run -n Video-Tree-TRM python -m app.harness.video_split_cli \
--config config/video_split.yaml ${DRY_RUN_FLAG} --config config/video_split.yaml \
--concurrency "${CONCURRENCY}" ${DRY_RUN_FLAG}