Skip to content

Commit

Permalink
use Domain.recommended_domain_count instead of hardcoded default number
Browse files Browse the repository at this point in the history
of workers
  • Loading branch information
zapashcanon committed Jan 8, 2024
1 parent a830cbb commit fe7d389
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/owi.ml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ let unsafe =

let workers =
let doc = "number of workers for symbolic execution" in
Cmdliner.Arg.(value & opt int 4 & info [ "workers"; "w" ] ~doc)
Cmdliner.Arg.(value & opt int (Domain.recommended_domain_count ()) & info [ "workers"; "w" ] ~doc)

let workspace =
let doc = "path to the workspace directory" in
Expand Down

0 comments on commit fe7d389

Please sign in to comment.