UNPKG

apex-code-coverage-transformer

Version:

Transform Salesforce Apex code coverage JSONs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.

7 lines 264 B
'use strict'; import { availableParallelism } from 'node:os'; export function getConcurrencyThreshold() { const AVAILABLE_PARALLELISM = availableParallelism(); return Math.min(AVAILABLE_PARALLELISM, 6); } //# sourceMappingURL=getConcurrencyThreshold.js.map