mirror of
https://github.com/openai/codex.git
synced 2026-04-24 14:45:27 +00:00
Default agent job concurrency to 64
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user