From 94728c52202ef8e08117107dff683546eddac90b Mon Sep 17 00:00:00 2001 From: iomgaa Date: Wed, 15 Jul 2026 13:57:59 -0400 Subject: [PATCH] chore: set video-split diagnosis concurrency to 12 (overridable) --- scripts/build_video_split.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/build_video_split.sh b/scripts/build_video_split.sh index 56bcfdb..337c476 100755 --- a/scripts/build_video_split.sh +++ b/scripts/build_video_split.sh @@ -49,5 +49,11 @@ if [ "${MODE:-}" = "mock" ]; then DRY_RUN_FLAG="--dry-run" fi +# 诊断并发上限(asyncio.Semaphore):默认 12,可用 CONCURRENCY 环境变量覆盖。 +# 注:LLM 熔断阈值/冷却是工程配置,走 .env(LLM_CIRCUIT_BREAKER_THRESHOLD / _COOLDOWN), +# 当前 threshold=32(连续 32 次失败触发熔断),不在本脚本设置。 +CONCURRENCY="${CONCURRENCY:-12}" + 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}