feat: increase maximum concurrency for parallel agents to enhance performance

This commit is contained in:
asepharyana
2026-07-12 18:17:09 +07:00
parent 8a11a469f9
commit 562509b0e0
3 changed files with 17 additions and 18 deletions
+2 -2
View File
@@ -320,9 +320,9 @@ pub fn run_workflow_tracked(
}
let concurrency_cap = if script.options.max_concurrency > 0 {
script.options.max_concurrency.min(8) // allow up to 8 parallel agents
script.options.max_concurrency.min(10) // allow up to 10 parallel agents
} else {
4
10
};
let live_ref = live.as_ref();