Change default max_concurrent_runs from 4 to 5

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-04 23:01:55 -05:00
parent b268efd85f
commit 9274208c24
2 changed files with 2 additions and 2 deletions

View file

@ -142,7 +142,7 @@ pub async fn serve_command(args: ServeArgs, styles: &'static Styles) -> anyhow::
let max_concurrent_runs = args
.max_concurrent_runs
.or(server_config.max_concurrent_runs)
.unwrap_or(4);
.unwrap_or(5);
let state = create_app_state_with_options(db, factory, dry_run_mode, args.demo, max_concurrent_runs);
crate::server::spawn_scheduler(Arc::clone(&state));
let router = build_router(state, auth_mode);

View file

@ -293,7 +293,7 @@ pub fn create_app_state(
db: sqlx::SqlitePool,
registry_factory: impl Fn(Arc<dyn Interviewer>) -> HandlerRegistry + Send + Sync + 'static,
) -> Arc<AppState> {
create_app_state_with_options(db, registry_factory, false, false, 4)
create_app_state_with_options(db, registry_factory, false, false, 5)
}
/// Create an `AppState` with the given database pool, registry factory, dry-run flag, and demo flag.