Default agent job concurrency to 64

This commit is contained in:
Dave Aitel
2026-02-05 22:29:15 -05:00
parent 9ceb403655
commit 263cacc2bb
2 changed files with 2 additions and 2 deletions

View File

@@ -583,7 +583,7 @@ async fn build_runner_options(
}
fn normalize_concurrency(requested: Option<usize>, max_threads: Option<usize>) -> usize {
let requested = requested.unwrap_or(4).max(1);
let requested = requested.unwrap_or(64).max(1);
let requested = requested.min(64);
if let Some(max_threads) = max_threads {
requested.min(max_threads.max(1))

View File

@@ -25,7 +25,7 @@ Optional args:
- `job_name`: human-friendly label.
- `output_csv_path`: destination for CSV export (defaults to `<input>.agent-job-<id>.csv`).
- `output_schema`: JSON schema for result payloads (best-effort guidance).
- `max_concurrency`: cap on parallel workers.
- `max_concurrency`: cap on parallel workers (defaults to 64, then capped by config).
- `auto_export`: auto-export CSV on successful completion (default true).
### `run_agent_job`