Skip to content

Commit

Permalink
Update default concurrency
Browse files Browse the repository at this point in the history
  • Loading branch information
wildlyinaccurate committed Jun 28, 2023
1 parent c89cf0d commit 5ba9add
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const yaml = require("js-yaml");
const DEFAULT_CONFIG = {
blockRequests: [],
browser: "HeadlessChrome",
concurrency: os.cpus().length,
concurrency: Math.min(os.cpus().length, 4),
failureThreshold: 10,
fuzz: 5,
headless: true,
Expand Down Expand Up @@ -79,6 +79,11 @@ function makeSchema() {
message: 'A value is required for "browser"',
},

concurrency: {
type: "number",
required: true,
},

inFile: {
type: "string",
},
Expand Down

0 comments on commit 5ba9add

Please sign in to comment.