Skip to content

Commit

Permalink
Update documentation, see phetsims/chipper#1468
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Nov 5, 2024
1 parent e42e6ed commit 35ba9c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/eslint/lint-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function lintWithWorkers( repos: Repo[], options: LintOptions ): Promise<b
}
};

// TODO: https://github.com/phetsims/chipper/issues/1468 fine tune the number of workers, maybe with require('os').cpus().length?
// We experimented with different numbers of workers, and 8 seems to be a reasonable number to get good performance
const numWorkers = 8;
const workers = _.times( numWorkers, () => worker() );

Expand Down

0 comments on commit 35ba9c0

Please sign in to comment.